Title: [101204] trunk/Source/WebCore
Revision
101204
Author
commit-qu...@webkit.org
Date
2011-11-27 11:48:32 -0800 (Sun, 27 Nov 2011)

Log Message

CSSStyleSheet: Removed unused create() overload.
<http://webkit.org/b/73170>

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

Nobody was using CSSStyleSheet::create(ownerNode, originalURL, finalURL)
so remove it.

* css/CSSStyleSheet.h:
(WebCore::CSSStyleSheet::create):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (101203 => 101204)


--- trunk/Source/WebCore/ChangeLog	2011-11-27 19:05:25 UTC (rev 101203)
+++ trunk/Source/WebCore/ChangeLog	2011-11-27 19:48:32 UTC (rev 101204)
@@ -1,3 +1,16 @@
+2011-11-27  Andreas Kling  <kl...@webkit.org>
+
+        CSSStyleSheet: Removed unused create() overload.
+        <http://webkit.org/b/73170>
+
+        Reviewed by Antonio Gomes.
+
+        Nobody was using CSSStyleSheet::create(ownerNode, originalURL, finalURL)
+        so remove it.
+
+        * css/CSSStyleSheet.h:
+        (WebCore::CSSStyleSheet::create):
+
 2011-11-27  Robert Hogan  <rob...@webkit.org>
 
         CSS 2.1 failure: border-conflict-element-*

Modified: trunk/Source/WebCore/css/CSSStyleSheet.h (101203 => 101204)


--- trunk/Source/WebCore/css/CSSStyleSheet.h	2011-11-27 19:05:25 UTC (rev 101203)
+++ trunk/Source/WebCore/css/CSSStyleSheet.h	2011-11-27 19:48:32 UTC (rev 101204)
@@ -44,10 +44,6 @@
     {
         return adoptRef(new CSSStyleSheet(ownerNode, String(), KURL(), String()));
     }
-    static PassRefPtr<CSSStyleSheet> create(Node* ownerNode, const String& originalURL, const KURL& finalURL)
-    {
-        return adoptRef(new CSSStyleSheet(ownerNode, originalURL, finalURL, String()));
-    }
     static PassRefPtr<CSSStyleSheet> create(Node* ownerNode, const String& originalURL, const KURL& finalURL, const String& charset)
     {
         return adoptRef(new CSSStyleSheet(ownerNode, originalURL, finalURL, charset));
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to