Remove unused HTMLTextFormControlElement::textRendererAfterUpdateLayout
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 26 Jul 2013 04:35:32 +0000 (04:35 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 26 Jul 2013 04:35:32 +0000 (04:35 +0000)
https://bugs.webkit.org/show_bug.cgi?id=119121

Reviewed by Andreas Kling.

Merge https://chromium.googlesource.com/chromium/blink/+/3255ce725711707fe1fd18be91a6d06789517220.

* html/HTMLTextFormControlElement.cpp:
* html/HTMLTextFormControlElement.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@153367 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/html/HTMLTextFormControlElement.cpp
Source/WebCore/html/HTMLTextFormControlElement.h

index 0f73e1de1cca180242ad475eb3703d9b943d1828..b50ee4feac749d631f145481c075ad83081ccea6 100644 (file)
@@ -1,3 +1,15 @@
+2013-07-25  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Remove unused HTMLTextFormControlElement::textRendererAfterUpdateLayout
+        https://bugs.webkit.org/show_bug.cgi?id=119121
+
+        Reviewed by Andreas Kling.
+
+        Merge https://chromium.googlesource.com/chromium/blink/+/3255ce725711707fe1fd18be91a6d06789517220.
+
+        * html/HTMLTextFormControlElement.cpp:
+        * html/HTMLTextFormControlElement.h:
+
 2013-07-25  Ryosuke Niwa  <rniwa@webkit.org>
 
         Fix document leak when selection is created inside the document
index 1e27bf87674cd21925aadc0b68cca3506a4b1442..f3734fbacc5e7cdf0c222e05677dd0dd947b7bd7 100644 (file)
@@ -187,14 +187,6 @@ void HTMLTextFormControlElement::fixPlaceholderRenderer(HTMLElement* placeholder
     parentRenderer->addChild(placeholderRenderer, siblingRenderer);
 }
 
-RenderTextControl* HTMLTextFormControlElement::textRendererAfterUpdateLayout()
-{
-    if (!isTextFormControl())
-        return 0;
-    document()->updateLayoutIgnorePendingStylesheets();
-    return toRenderTextControl(renderer());
-}
-
 void HTMLTextFormControlElement::setSelectionStart(int start)
 {
     setSelectionRange(start, max(start, selectionEnd()), selectionDirection());
index b9d04e52bcc6489d6cb874bab40d5fd9c97bac49..717708e67be2da9d216a260943ae0a285c08a36b 100644 (file)
@@ -129,8 +129,6 @@ private:
     // Called in dispatchBlurEvent(), after placeholder process, before calling parent's dispatchBlurEvent().
     virtual void handleBlurEvent() { }
 
-    RenderTextControl* textRendererAfterUpdateLayout();
-
     String m_textAsOfLastFormControlChangeEvent;
     bool m_lastChangeWasUserEdit;