| Index: ui/gfx/render_text_win.cc
|
| diff --git a/ui/gfx/render_text_win.cc b/ui/gfx/render_text_win.cc
|
| index 5e0cab54879dc6cdf9b8022ac44d38228f98a32c..40b41d162419c9931b587c55201186a9e7a6afa1 100644
|
| --- a/ui/gfx/render_text_win.cc
|
| +++ b/ui/gfx/render_text_win.cc
|
| @@ -7,9 +7,9 @@
|
| #include "base/logging.h"
|
| #include "base/stl_util.h"
|
| #include "base/string_util.h"
|
| +#include "third_party/skia/include/core/SkTypeface.h"
|
| #include "ui/gfx/canvas.h"
|
| #include "ui/gfx/canvas_skia.h"
|
| -#include "third_party/skia/include/core/SkTypeface.h"
|
|
|
| namespace {
|
|
|
| @@ -577,7 +577,7 @@ void RenderTextWin::DrawSelection(Canvas* canvas) {
|
| GetSubstringBounds(GetSelectionStart(), GetCursorPosition()));
|
| SkColor color = focused() ? kFocusedSelectionColor : kUnfocusedSelectionColor;
|
| for (std::vector<Rect>::const_iterator i = sel.begin(); i < sel.end(); ++i)
|
| - canvas->FillRectInt(color, i->x(), i->y(), i->width(), i->height());
|
| + canvas->FillRect(color, *i);
|
| }
|
|
|
| void RenderTextWin::DrawVisualText(Canvas* canvas) {
|
|
|