Index: third_party/WebKit/Source/core/dom/ScriptLoader.h |
diff --git a/third_party/WebKit/Source/core/dom/ScriptLoader.h b/third_party/WebKit/Source/core/dom/ScriptLoader.h |
index 29ac44f543375399cfd91fa5880da9e0a3e5a87e..1aa042e4071a352296d0f786d2a284e8fb07ef15 100644 |
--- a/third_party/WebKit/Source/core/dom/ScriptLoader.h |
+++ b/third_party/WebKit/Source/core/dom/ScriptLoader.h |
@@ -32,9 +32,8 @@ |
namespace blink { |
-class LocalFrame; |
class ScriptElementBase; |
-class ScriptSourceCode; |
+class Script; |
class CORE_EXPORT ScriptLoader : public GarbageCollectedFinalized<ScriptLoader>, |
public PendingScriptClient { |
@@ -73,7 +72,7 @@ class CORE_EXPORT ScriptLoader : public GarbageCollectedFinalized<ScriptLoader>, |
PendingScript* CreatePendingScript(); |
// Returns false if and only if execution was blocked. |
- bool ExecuteScript(const ScriptSourceCode&); |
+ bool ExecuteScript(const Script*); |
virtual void Execute(); |
// XML parser calls these |
@@ -128,12 +127,11 @@ class CORE_EXPORT ScriptLoader : public GarbageCollectedFinalized<ScriptLoader>, |
private: |
bool IgnoresLoadRequest() const; |
bool IsScriptForEventSupported() const; |
- void LogScriptMIMEType(LocalFrame*, ScriptResource*, const String&); |
bool FetchScript(const String& source_url, |
const String& encoding, |
FetchParameters::DeferOption); |
- bool DoExecuteScript(const ScriptSourceCode&); |
+ bool DoExecuteScript(const Script*); |
// Clears the connection to the PendingScript. |
void DetachPendingScript(); |