Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(621)

Unified Diff: third_party/WebKit/Source/core/paint/FileUploadControlPainter.cpp

Issue 2640143005: Support subpixel layout for borders. (Closed)
Patch Set: Rebaselined tests. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/paint/FileUploadControlPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/FileUploadControlPainter.cpp b/third_party/WebKit/Source/core/paint/FileUploadControlPainter.cpp
index 9ef6246c246db99fcc02c76c615784240e1d943b..e72a50d211a52490e3ab0f56d55d0dc75ae708cb 100644
--- a/third_party/WebKit/Source/core/paint/FileUploadControlPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/FileUploadControlPainter.cpp
@@ -29,8 +29,8 @@ void FileUploadControlPainter::paintObject(const PaintInfo& paintInfo,
LayoutPoint(paintOffset.x() + m_layoutFileUploadControl.borderLeft(),
paintOffset.y() + m_layoutFileUploadControl.borderTop()),
m_layoutFileUploadControl.size() +
- LayoutSize(0, -m_layoutFileUploadControl.borderWidth() +
- buttonShadowHeight)));
+ LayoutSize(LayoutUnit(), -m_layoutFileUploadControl.borderWidth() +
+ buttonShadowHeight)));
if (clipRect.isEmpty())
return;
clipRecorder.emplace(paintInfo.context, m_layoutFileUploadControl,
« no previous file with comments | « third_party/WebKit/Source/core/paint/BoxPainter.cpp ('k') | third_party/WebKit/Source/core/paint/NinePieceImageGrid.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698