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

Unified Diff: Source/core/html/shadow/ClearButtonElement.cpp

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase to master Created 5 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: Source/core/html/shadow/ClearButtonElement.cpp
diff --git a/Source/core/html/shadow/ClearButtonElement.cpp b/Source/core/html/shadow/ClearButtonElement.cpp
index c5623784d3dfb07872686586621ed6f0f32cb873..8d3cf044e9dcaa0f5f2032b4b29b54ddf61148e0 100644
--- a/Source/core/html/shadow/ClearButtonElement.cpp
+++ b/Source/core/html/shadow/ClearButtonElement.cpp
@@ -70,7 +70,7 @@ void ClearButtonElement::defaultEventHandler(Event* event)
}
if (event->type() == EventTypeNames::click) {
- if (renderer() && renderer()->visibleToHitTesting()) {
+ if (layoutObject() && layoutObject()->visibleToHitTesting()) {
m_clearButtonOwner->focusAndSelectClearButtonOwner();
m_clearButtonOwner->clearValue();
event->setDefaultHandled();

Powered by Google App Engine
This is Rietveld 408576698