Index: third_party/WebKit/Source/core/html/forms/ColorInputType.cpp |
diff --git a/third_party/WebKit/Source/core/html/forms/ColorInputType.cpp b/third_party/WebKit/Source/core/html/forms/ColorInputType.cpp |
index 3dd217acfd75aa5dfe7a994dca9ae9476ac6e6a8..66b9327d052b4ebc99e34f1738484b444ec8ceeb 100644 |
--- a/third_party/WebKit/Source/core/html/forms/ColorInputType.cpp |
+++ b/third_party/WebKit/Source/core/html/forms/ColorInputType.cpp |
@@ -167,7 +167,7 @@ void ColorInputType::setValue(const String& value, bool valueChanged, TextFieldE |
void ColorInputType::handleDOMActivateEvent(Event* event) |
{ |
- if (element().isDisabledFormControl() || !element().layoutObject()) |
+ if (element().isDisabledFormControl()) |
return; |
if (!UserGestureIndicator::utilizeUserGesture()) |