Fix warning C4838
BUG=#315
TEST=
REF_BUG=26932823
REF_CL=114656293
REF_TIME=2016-02-14T17:45:29-08:00
REF_TIME_RAW=1455500729 -0800
Yohei Yukawa
8 years ago
0 | 0 |
MAJOR=2
|
1 | 1 |
MINOR=17
|
2 | |
BUILD=2484
|
|
2 |
BUILD=2485
|
3 | 3 |
REVISION=102
|
4 | 4 |
# NACL_DICTIONARY_VERSION is the target version of the system dictionary to be
|
5 | 5 |
# downloaded by NaCl Mozc.
|
399 | 399 |
for (size_t i = 0; i < display_list.size(); ++i) {
|
400 | 400 |
const auto &item = display_list[i];
|
401 | 401 |
const D2D1_RECT_F render_rect = {
|
402 | |
item.rect.Left(), item.rect.Top(), item.rect.Right(),
|
403 | |
item.rect.Bottom(),
|
|
402 |
static_cast<float>(item.rect.Left()),
|
|
403 |
static_cast<float>(item.rect.Top()),
|
|
404 |
static_cast<float>(item.rect.Right()),
|
|
405 |
static_cast<float>(item.rect.Bottom()),
|
404 | 406 |
};
|
405 | 407 |
dc_render_target_->DrawText(item.text.data(),
|
406 | 408 |
item.text.size(),
|