Title: [105632] trunk/Source/WebCore
Revision
105632
Author
an...@apple.com
Date
2012-01-23 09:20:02 -0800 (Mon, 23 Jan 2012)

Log Message

Attempt to fix Qt build.
    
Not reviewed.

* css/CSSElementStyleDeclaration.cpp:
* css/CSSElementStyleDeclaration.h:
(WebCore::CSSElementStyleDeclaration::createForSVGFontFaceElement):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (105631 => 105632)


--- trunk/Source/WebCore/ChangeLog	2012-01-23 17:00:38 UTC (rev 105631)
+++ trunk/Source/WebCore/ChangeLog	2012-01-23 17:20:02 UTC (rev 105632)
@@ -1,3 +1,13 @@
+2012-01-23  Antti Koivisto  <an...@apple.com>
+
+        Attempt to fix Qt build.
+    
+        Not reviewed.
+
+        * css/CSSElementStyleDeclaration.cpp:
+        * css/CSSElementStyleDeclaration.h:
+        (WebCore::CSSElementStyleDeclaration::createForSVGFontFaceElement):
+
 2012-01-23  Andreas Kling  <awesomekl...@apple.com>
 
         Move m_rootEditableElementForSelectionOnMouseDown off of HTMLAnchorElement.

Modified: trunk/Source/WebCore/css/CSSElementStyleDeclaration.cpp (105631 => 105632)


--- trunk/Source/WebCore/css/CSSElementStyleDeclaration.cpp	2012-01-23 17:00:38 UTC (rev 105631)
+++ trunk/Source/WebCore/css/CSSElementStyleDeclaration.cpp	2012-01-23 17:20:02 UTC (rev 105632)
@@ -26,16 +26,10 @@
 #include "config.h"
 #include "CSSElementStyleDeclaration.h"
 
-#include "SVGFontFaceElement.h"
 #include "StyledElement.h"
 
 namespace WebCore {
 
-PassRefPtr<CSSElementStyleDeclaration> CSSElementStyleDeclaration::createForSVGFontFaceElement(SVGFontFaceElement* element) 
-{ 
-    return adoptRef(new CSSElementStyleDeclaration(element, false)); 
-}
-
 CSSStyleSheet* CSSElementStyleDeclaration::styleSheet() const
 {
     if (!m_element)

Modified: trunk/Source/WebCore/css/CSSElementStyleDeclaration.h (105631 => 105632)


--- trunk/Source/WebCore/css/CSSElementStyleDeclaration.h	2012-01-23 17:00:38 UTC (rev 105631)
+++ trunk/Source/WebCore/css/CSSElementStyleDeclaration.h	2012-01-23 17:20:02 UTC (rev 105632)
@@ -37,7 +37,7 @@
 class CSSElementStyleDeclaration : public CSSMutableStyleDeclaration {
 public:
     static PassRefPtr<CSSElementStyleDeclaration> createInline(StyledElement* element) { return adoptRef(new CSSElementStyleDeclaration(element, true)); }
-    static PassRefPtr<CSSElementStyleDeclaration> createForSVGFontFaceElement(SVGFontFaceElement*);
+    static PassRefPtr<CSSElementStyleDeclaration> createForSVGFontFaceElement(StyledElement* element) { return adoptRef(new CSSElementStyleDeclaration(element, false)); }
 
     StyledElement* element() const { return m_element; }
     void clearElement() { m_element = 0; }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to