Roll out r165076.
[WebKit-https.git] / Source / WebCore / html / TextFieldInputType.cpp
index 3e9ea67..1bbad62 100644 (file)
@@ -190,7 +190,7 @@ void TextFieldInputType::forwardEvent(Event* event)
         || event->type() == eventNames().blurEvent
         || event->type() == eventNames().focusEvent)
     {
-        element().document().updateStyleIfNeededForNode(element());
+        element().document().updateStyleIfNeeded();
 
         if (element().renderer()) {
             RenderTextControlSingleLine& renderTextControl = downcast<RenderTextControlSingleLine>(*element().renderer());