Title: [120997] trunk/Source/WebCore
Revision
120997
Author
[email protected]
Date
2012-06-21 19:47:15 -0700 (Thu, 21 Jun 2012)

Log Message

Make HTMLDocumentParser::create(DocumentFragment*,Element*, FragmentScriptingPermission) private.
https://bugs.webkit.org/show_bug.cgi?id=89724

Reviewed by Darin Adler.

It is used only by HTMLDocumentParser::parseDocumentFragment. No behavioral changes.

* html/parser/HTMLDocumentParser.h:
(WebCore::HTMLDocumentParser::create):
(HTMLDocumentParser):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (120996 => 120997)


--- trunk/Source/WebCore/ChangeLog	2012-06-22 02:40:40 UTC (rev 120996)
+++ trunk/Source/WebCore/ChangeLog	2012-06-22 02:47:15 UTC (rev 120997)
@@ -1,3 +1,16 @@
+2012-06-21  Kwang Yul Seo  <[email protected]>
+
+        Make HTMLDocumentParser::create(DocumentFragment*,Element*, FragmentScriptingPermission) private.
+        https://bugs.webkit.org/show_bug.cgi?id=89724
+
+        Reviewed by Darin Adler.
+
+        It is used only by HTMLDocumentParser::parseDocumentFragment. No behavioral changes.
+
+        * html/parser/HTMLDocumentParser.h:
+        (WebCore::HTMLDocumentParser::create):
+        (HTMLDocumentParser):
+
 2012-06-21  Kalev Lember  <[email protected]>
 
         [GTK] Use the empty plugin support on non-X11 and non-Windows platforms

Modified: trunk/Source/WebCore/html/parser/HTMLDocumentParser.h (120996 => 120997)


--- trunk/Source/WebCore/html/parser/HTMLDocumentParser.h	2012-06-22 02:40:40 UTC (rev 120996)
+++ trunk/Source/WebCore/html/parser/HTMLDocumentParser.h	2012-06-22 02:47:15 UTC (rev 120997)
@@ -60,11 +60,6 @@
     {
         return adoptRef(new HTMLDocumentParser(document, reportErrors));
     }
-    static PassRefPtr<HTMLDocumentParser> create(DocumentFragment* fragment, Element* contextElement, FragmentScriptingPermission permission)
-    {
-        return adoptRef(new HTMLDocumentParser(fragment, contextElement, permission));
-    }
-
     virtual ~HTMLDocumentParser();
 
     // Exposed for HTMLParserScheduler
@@ -95,6 +90,11 @@
     HTMLTreeBuilder* treeBuilder() const { return m_treeBuilder.get(); }
 
 private:
+    static PassRefPtr<HTMLDocumentParser> create(DocumentFragment* fragment, Element* contextElement, FragmentScriptingPermission permission)
+    {
+        return adoptRef(new HTMLDocumentParser(fragment, contextElement, permission));
+    }
+
     // DocumentParser
     virtual void detach();
     virtual bool hasInsertionPoint();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to