Index: third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp |
diff --git a/third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp b/third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp |
index 923d423fad3bdc81e3457a3d37cffdda3a8ffc01..bf1d42ef1d87c3bf8470c7da6a86d78b95365ab3 100644 |
--- a/third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp |
+++ b/third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp |
@@ -283,8 +283,8 @@ void ThemePainterDefault::setupMenuListArrow( |
const LayoutBox& box, |
const IntRect& rect, |
WebThemeEngine::ExtraParams& extraParams) { |
- const int left = rect.x() + box.borderLeft(); |
- const int right = rect.x() + rect.width() - box.borderRight(); |
+ const int left = rect.x() + box.borderLeft().toInt(); |
+ const int right = rect.x() + rect.width() - box.borderRight().toInt(); |
const int middle = rect.y() + rect.height() / 2; |
extraParams.menuList.arrowY = middle; |