Index: Source/core/html/parser/HTMLScriptRunner.h |
diff --git a/Source/core/html/parser/HTMLScriptRunner.h b/Source/core/html/parser/HTMLScriptRunner.h |
index 6c1a1f6af080468b1cb651ba4d4c271aaf05a7d8..5ad2f41c156aa4416f828ebd63c446acc20633f7 100644 |
--- a/Source/core/html/parser/HTMLScriptRunner.h |
+++ b/Source/core/html/parser/HTMLScriptRunner.h |
@@ -43,7 +43,7 @@ class LocalFrame; |
class HTMLScriptRunnerHost; |
class ScriptSourceCode; |
-class HTMLScriptRunner FINAL : public NoBaseWillBeGarbageCollectedFinalized<HTMLScriptRunner>, private ResourceClient { |
+class HTMLScriptRunner FINAL : public NoBaseWillBeGarbageCollectedFinalized<HTMLScriptRunner>, private ScriptResourceClient { |
WTF_MAKE_NONCOPYABLE(HTMLScriptRunner); WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
public: |
static PassOwnPtrWillBeRawPtr<HTMLScriptRunner> create(Document* document, HTMLScriptRunnerHost* host) |
@@ -92,7 +92,7 @@ private: |
void watchForLoad(PendingScript&); |
void stopWatchingForLoad(PendingScript&); |
bool isPendingScriptReady(const PendingScript&); |
- ScriptSourceCode sourceFromPendingScript(const PendingScript&, bool& errorOccurred) const; |
+ ScriptSourceCode sourceFromPendingScript(PendingScript&, bool& errorOccurred) const; |
RawPtrWillBeMember<Document> m_document; |
RawPtrWillBeMember<HTMLScriptRunnerHost> m_host; |