| 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];
|
|
|