Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(807)

Unified Diff: Source/core/dom/ScriptLoader.h

Issue 288033006: Revert a series of wrong fixes for crbug.com/361011 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/dom/ScriptLoader.h
diff --git a/Source/core/dom/ScriptLoader.h b/Source/core/dom/ScriptLoader.h
index a862e33b5b1a75bf0655ce3f245b7fb970043cb4..83acaecfe4232ca1ae616b63374408bee8f075bd 100644
--- a/Source/core/dom/ScriptLoader.h
+++ b/Source/core/dom/ScriptLoader.h
@@ -30,7 +30,6 @@ namespace WebCore {
class ScriptResource;
class ContainerNode;
-class Document;
class Element;
class ScriptLoaderClient;
class ScriptSourceCode;
@@ -72,7 +71,6 @@ public:
void childrenChanged();
void handleSourceAttribute(const String& sourceUrl);
void handleAsyncAttribute();
- void cancel(Document* contextDocument);
private:
ScriptLoader(Element*, bool createdByParser, bool isEvaluated);
@@ -88,14 +86,6 @@ private:
// ResourceClient
virtual void notifyFinished(Resource*) OVERRIDE;
- enum FinishType {
- FinishSuccessfully,
- FinishWithCancel,
- FinishWithError
- };
-
- void finishLoading(Document* contextDocument, FinishType);
-
Element* m_element;
ResourcePtr<ScriptResource> m_resource;
WTF::OrdinalNumber m_startLineNumber;
« no previous file with comments | « LayoutTests/fast/dom/HTMLScriptElement/resources/should-not-run.js ('k') | Source/core/dom/ScriptLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698