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

Unified Diff: Source/core/html/forms/ColorInputType.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/forms/ColorInputType.cpp
diff --git a/Source/core/html/forms/ColorInputType.cpp b/Source/core/html/forms/ColorInputType.cpp
index e821cfc071e52e1ee55120f80f05e9b7f7e1429b..a1393528dd3953d493f30e78069ed1071721bb05 100644
--- a/Source/core/html/forms/ColorInputType.cpp
+++ b/Source/core/html/forms/ColorInputType.cpp
@@ -157,7 +157,7 @@ void ColorInputType::setValue(const String& value, bool valueChanged, TextFieldE
void ColorInputType::handleDOMActivateEvent(Event* event)
{
- if (element().isDisabledFormControl() || !element().renderer())
+ if (element().isDisabledFormControl() || !element().layoutObject())
return;
if (!UserGestureIndicator::processingUserGesture())

Powered by Google App Engine
This is Rietveld 408576698