| 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())
|
|
|