Index: Source/core/html/shadow/PickerIndicatorElement.cpp |
diff --git a/Source/core/html/shadow/PickerIndicatorElement.cpp b/Source/core/html/shadow/PickerIndicatorElement.cpp |
index b3ed66e5bda1a222c2c723f09c91b92253a11c31..0da5e867e72491ec4ddc5b30bd77b9e543728ed7 100644 |
--- a/Source/core/html/shadow/PickerIndicatorElement.cpp |
+++ b/Source/core/html/shadow/PickerIndicatorElement.cpp |
@@ -76,7 +76,7 @@ LayoutObject* PickerIndicatorElement::createRenderer(const LayoutStyle&) |
void PickerIndicatorElement::defaultEventHandler(Event* event) |
{ |
- if (!renderer()) |
+ if (!layoutObject()) |
return; |
if (!m_pickerIndicatorOwner || m_pickerIndicatorOwner->isPickerIndicatorOwnerDisabledOrReadOnly()) |
return; |
@@ -98,7 +98,7 @@ void PickerIndicatorElement::defaultEventHandler(Event* event) |
bool PickerIndicatorElement::willRespondToMouseClickEvents() |
{ |
- if (renderer() && m_pickerIndicatorOwner && !m_pickerIndicatorOwner->isPickerIndicatorOwnerDisabledOrReadOnly()) |
+ if (layoutObject() && m_pickerIndicatorOwner && !m_pickerIndicatorOwner->isPickerIndicatorOwnerDisabledOrReadOnly()) |
return true; |
return HTMLDivElement::willRespondToMouseClickEvents(); |