Title: [101206] trunk/Source/WebCore
Revision
101206
Author
commit-qu...@webkit.org
Date
2011-11-27 12:20:28 -0800 (Sun, 27 Nov 2011)

Log Message

CSS/XSLStyleSheet: checkLoaded() needn't be virtual.
<http://webkit.org/b/73169>

Patch by Andreas Kling <kl...@webkit.org> on 2011-11-27
Reviewed by Antti Koivisto.

Devirtualize checkLoaded() in CSSStyleSheet and XSLStyleSheet as they
are not overriding anything, nor are they ever overridden.

* css/CSSStyleSheet.h:
* xml/XSLStyleSheet.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (101205 => 101206)


--- trunk/Source/WebCore/ChangeLog	2011-11-27 20:02:25 UTC (rev 101205)
+++ trunk/Source/WebCore/ChangeLog	2011-11-27 20:20:28 UTC (rev 101206)
@@ -1,5 +1,18 @@
 2011-11-27  Andreas Kling  <kl...@webkit.org>
 
+        CSS/XSLStyleSheet: checkLoaded() needn't be virtual.
+        <http://webkit.org/b/73169>
+
+        Reviewed by Antti Koivisto.
+
+        Devirtualize checkLoaded() in CSSStyleSheet and XSLStyleSheet as they
+        are not overriding anything, nor are they ever overridden.
+
+        * css/CSSStyleSheet.h:
+        * xml/XSLStyleSheet.h:
+
+2011-11-27  Andreas Kling  <kl...@webkit.org>
+
         Add assertions that CSSMappedAttributeDeclarations aren't using strict parsing.
         <http://webkit.org/b/73167>
 

Modified: trunk/Source/WebCore/css/CSSStyleSheet.h (101205 => 101206)


--- trunk/Source/WebCore/css/CSSStyleSheet.h	2011-11-27 20:02:25 UTC (rev 101205)
+++ trunk/Source/WebCore/css/CSSStyleSheet.h	2011-11-27 20:20:28 UTC (rev 101206)
@@ -88,7 +88,7 @@
 
     virtual bool isLoading();
 
-    virtual void checkLoaded();
+    void checkLoaded();
     void startLoadingDynamicSheet();
 
     Node* findStyleSheetOwnerNode() const;

Modified: trunk/Source/WebCore/xml/XSLStyleSheet.h (101205 => 101206)


--- trunk/Source/WebCore/xml/XSLStyleSheet.h	2011-11-27 20:02:25 UTC (rev 101205)
+++ trunk/Source/WebCore/xml/XSLStyleSheet.h	2011-11-27 20:20:28 UTC (rev 101206)
@@ -72,7 +72,7 @@
     virtual bool parseString(const String &string, bool strict = true);
     
     virtual bool isLoading();
-    virtual void checkLoaded();
+    void checkLoaded();
 
     void loadChildSheets();
     void loadChildSheet(const String& href);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to