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

Unified Diff: Source/core/layout/LayoutThemeMac.mm

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/layout/LayoutThemeDefault.cpp ('k') | Source/core/layout/LayoutThemeTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutThemeMac.mm
diff --git a/Source/core/layout/LayoutThemeMac.mm b/Source/core/layout/LayoutThemeMac.mm
index 70ffb6c5a6d403f3a98e6faafedd773b0c13dab2..38126ddefa538be003b941bad617d3d486ae2287 100644
--- a/Source/core/layout/LayoutThemeMac.mm
+++ b/Source/core/layout/LayoutThemeMac.mm
@@ -1485,7 +1485,7 @@ bool LayoutThemeMac::paintSearchFieldCancelButton(LayoutObject* o, const PaintIn
if (!input)
input = toElement(o->node());
- if (!input->renderer()->isBox())
+ if (!input->layoutObject()->isBox())
return false;
GraphicsContextStateSaver stateSaver(*paintInfo.context);
@@ -1584,7 +1584,7 @@ bool LayoutThemeMac::paintSearchFieldResultsDecoration(LayoutObject* o, const Pa
Node* input = o->node()->shadowHost();
if (!input)
input = o->node();
- if (!input->renderer()->isBox())
+ if (!input->layoutObject()->isBox())
return false;
GraphicsContextStateSaver stateSaver(*paintInfo.context);
@@ -1602,7 +1602,7 @@ bool LayoutThemeMac::paintSearchFieldResultsDecoration(LayoutObject* o, const Pa
LocalCurrentGraphicsContext localContext(paintInfo.context, r);
NSSearchFieldCell* search = this->search();
- setSearchCellState(input->renderer(), r);
+ setSearchCellState(input->layoutObject(), r);
[search setControlSize:searchFieldControlSizeForFont(o->styleRef())];
if ([search searchMenuTemplate] != nil)
[search setSearchMenuTemplate:nil];
« no previous file with comments | « Source/core/layout/LayoutThemeDefault.cpp ('k') | Source/core/layout/LayoutThemeTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698