Title: [126965] trunk/Source/WebCore
- Revision
- 126965
- Author
- [email protected]
- Date
- 2012-08-29 00:03:01 -0700 (Wed, 29 Aug 2012)
Log Message
Unreviewed, rolling out r126963.
http://trac.webkit.org/changeset/126963
https://bugs.webkit.org/show_bug.cgi?id=95298
Does not compile with clang (Requested by abarth on #webkit).
Patch by Sheriff Bot <[email protected]> on 2012-08-29
* html/HTMLInputElement.cpp:
* html/HTMLInputElement.h:
(HTMLInputElement):
* html/InputType.cpp:
* html/InputType.h:
(InputType):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (126964 => 126965)
--- trunk/Source/WebCore/ChangeLog 2012-08-29 06:50:34 UTC (rev 126964)
+++ trunk/Source/WebCore/ChangeLog 2012-08-29 07:03:01 UTC (rev 126965)
@@ -1,3 +1,18 @@
+2012-08-29 Sheriff Bot <[email protected]>
+
+ Unreviewed, rolling out r126963.
+ http://trac.webkit.org/changeset/126963
+ https://bugs.webkit.org/show_bug.cgi?id=95298
+
+ Does not compile with clang (Requested by abarth on #webkit).
+
+ * html/HTMLInputElement.cpp:
+ * html/HTMLInputElement.h:
+ (HTMLInputElement):
+ * html/InputType.cpp:
+ * html/InputType.h:
+ (InputType):
+
2012-08-28 Yoshifumi Inoue <[email protected]>
[Forms] Make HTMLInputElement::blur()/focus() override-able by input type
Modified: trunk/Source/WebCore/html/HTMLInputElement.cpp (126964 => 126965)
--- trunk/Source/WebCore/html/HTMLInputElement.cpp 2012-08-29 06:50:34 UTC (rev 126964)
+++ trunk/Source/WebCore/html/HTMLInputElement.cpp 2012-08-29 07:03:01 UTC (rev 126965)
@@ -338,26 +338,7 @@
m_inputType->stepUp(-n, ec);
}
-void HTMLInputElement::blur()
-{
- m_inputType->blur();
-}
-void HTMLInputElement::defaultBlur()
-{
- HTMLTextFormControlElement::blur();
-}
-
-void HTMLInputElement::defaultFocus(bool restorePreviousSelection)
-{
- HTMLTextFormControlElement::focus(restorePreviousSelection);
-}
-
-void HTMLInputElement::focus(bool restorePreviousSelection)
-{
- m_inputType->focus(restorePreviousSelection);
-}
-
bool HTMLInputElement::hasCustomFocusLogic() const
{
return m_inputType->hasCustomFocusLogic();
Modified: trunk/Source/WebCore/html/HTMLInputElement.h (126964 => 126965)
--- trunk/Source/WebCore/html/HTMLInputElement.h 2012-08-29 06:50:34 UTC (rev 126964)
+++ trunk/Source/WebCore/html/HTMLInputElement.h 2012-08-29 07:03:01 UTC (rev 126965)
@@ -276,11 +276,6 @@
void setHeight(unsigned);
void setWidth(unsigned);
- virtual void blur() OVERRIDE;
- void defaultBlur();
- void defaultFocus(bool restorePreviousSelection);
- virtual void focus(bool restorePreviousSelection = true) OVERRIDE;
-
virtual const AtomicString& name() const OVERRIDE;
static Vector<FileChooserFileInfo> filesFromFileInputFormControlState(const FormControlState&);
Modified: trunk/Source/WebCore/html/InputType.cpp (126964 => 126965)
--- trunk/Source/WebCore/html/InputType.cpp 2012-08-29 06:50:34 UTC (rev 126964)
+++ trunk/Source/WebCore/html/InputType.cpp 2012-08-29 07:03:01 UTC (rev 126965)
@@ -448,16 +448,6 @@
return RenderObject::createObject(element(), style);
}
-void InputType::blur()
-{
- element()->defaultBlur();
-}
-
-void InputType::focus(bool restorePreviousSelection)
-{
- element()->defaultFocus(restorePreviousSelection);
-}
-
void InputType::createShadowSubtree()
{
}
Modified: trunk/Source/WebCore/html/InputType.h (126964 => 126965)
--- trunk/Source/WebCore/html/InputType.h 2012-08-29 06:50:34 UTC (rev 126964)
+++ trunk/Source/WebCore/html/InputType.h 2012-08-29 07:03:01 UTC (rev 126965)
@@ -213,9 +213,6 @@
virtual bool hasTouchEventHandler() const;
#endif
- virtual void blur();
- virtual void focus(bool restorePreviousSelection);
-
// Shadow tree handling
virtual void createShadowSubtree();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes