Title: [125501] trunk/Source/WebCore
- Revision
- 125501
- Author
- [email protected]
- Date
- 2012-08-13 19:43:04 -0700 (Mon, 13 Aug 2012)
Log Message
Remove unused method HTMLDocumentParser::script()
https://bugs.webkit.org/show_bug.cgi?id=93916
Patch by Kwang Yul Seo <[email protected]> on 2012-08-13
Reviewed by Eric Seidel.
The use of HTMLDocumentParser::script() was removed in r61640 and has never been used since then.
No behavior change, so no new tests.
* html/parser/HTMLDocumentParser.cpp:
* html/parser/HTMLDocumentParser.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (125500 => 125501)
--- trunk/Source/WebCore/ChangeLog 2012-08-14 02:37:54 UTC (rev 125500)
+++ trunk/Source/WebCore/ChangeLog 2012-08-14 02:43:04 UTC (rev 125501)
@@ -1,3 +1,17 @@
+2012-08-13 Kwang Yul Seo <[email protected]>
+
+ Remove unused method HTMLDocumentParser::script()
+ https://bugs.webkit.org/show_bug.cgi?id=93916
+
+ Reviewed by Eric Seidel.
+
+ The use of HTMLDocumentParser::script() was removed in r61640 and has never been used since then.
+
+ No behavior change, so no new tests.
+
+ * html/parser/HTMLDocumentParser.cpp:
+ * html/parser/HTMLDocumentParser.h:
+
2012-08-13 Tom Sepez <[email protected]>
[chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach.
Modified: trunk/Source/WebCore/html/parser/HTMLDocumentParser.cpp (125500 => 125501)
--- trunk/Source/WebCore/html/parser/HTMLDocumentParser.cpp 2012-08-14 02:37:54 UTC (rev 125500)
+++ trunk/Source/WebCore/html/parser/HTMLDocumentParser.cpp 2012-08-14 02:43:04 UTC (rev 125501)
@@ -535,11 +535,6 @@
resumeParsingAfterScriptExecution();
}
-ScriptController* HTMLDocumentParser::script() const
-{
- return document()->frame() ? document()->frame()->script() : 0;
-}
-
void HTMLDocumentParser::parseDocumentFragment(const String& source, DocumentFragment* fragment, Element* contextElement, FragmentScriptingPermission scriptingPermission)
{
RefPtr<HTMLDocumentParser> parser = HTMLDocumentParser::create(fragment, contextElement, scriptingPermission);
Modified: trunk/Source/WebCore/html/parser/HTMLDocumentParser.h (125500 => 125501)
--- trunk/Source/WebCore/html/parser/HTMLDocumentParser.h 2012-08-14 02:37:54 UTC (rev 125500)
+++ trunk/Source/WebCore/html/parser/HTMLDocumentParser.h 2012-08-14 02:43:04 UTC (rev 125501)
@@ -137,8 +137,6 @@
bool inPumpSession() const { return m_pumpSessionNestingLevel > 0; }
bool shouldDelayEnd() const { return inPumpSession() || isWaitingForScripts() || isScheduledForResume() || isExecutingScript(); }
- ScriptController* script() const;
-
HTMLInputStream m_input;
// We hold m_token here because it might be partially complete.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes