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

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

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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
« no previous file with comments | « Source/core/paint/EllipsisBoxPainter.cpp ('k') | Source/core/paint/FilterPainter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/FileUploadControlPainter.cpp
diff --git a/Source/core/paint/FileUploadControlPainter.cpp b/Source/core/paint/FileUploadControlPainter.cpp
index 1fe0bb2b4e7e60b0ac402b9f66a51e0698694908..fff6fdb2b9882793ad6b29ebe4a54e89378d4ba9 100644
--- a/Source/core/paint/FileUploadControlPainter.cpp
+++ b/Source/core/paint/FileUploadControlPainter.cpp
@@ -56,7 +56,7 @@ void FileUploadControlPainter::paintObject(const PaintInfo& paintInfo, const Lay
LayoutUnit textY = 0;
// We want to match the button's baseline
// FIXME: Make this work with transforms.
- if (LayoutButton* buttonRenderer = toLayoutButton(button->renderer()))
+ if (LayoutButton* buttonRenderer = toLayoutButton(button->layoutObject()))
textY = paintOffset.y() + m_renderFileUploadControl.borderTop() + m_renderFileUploadControl.paddingTop() + buttonRenderer->baselinePosition(AlphabeticBaseline, true, HorizontalLine, PositionOnContainingLine);
else
textY = m_renderFileUploadControl.baselinePosition(AlphabeticBaseline, true, HorizontalLine, PositionOnContainingLine);
« no previous file with comments | « Source/core/paint/EllipsisBoxPainter.cpp ('k') | Source/core/paint/FilterPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698