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

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

Issue 2549143009: Create PendingScriptClient as a separate client interface for PendingScript. (Closed)
Patch Set: . Created 4 years 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: 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 abad9d2e1bf80eaed356e00aa7b3c7637c989441..e92c9e5704918c1546a6f78ade61e3a1d1e5961d 100644
--- a/third_party/WebKit/Source/core/dom/ScriptLoader.h
+++ b/third_party/WebKit/Source/core/dom/ScriptLoader.h
@@ -38,7 +38,7 @@ class ScriptSourceCode;
class LocalFrame;
class CORE_EXPORT ScriptLoader : public GarbageCollectedFinalized<ScriptLoader>,
- public ScriptResourceClient {
+ public PendingScriptClient {
USING_GARBAGE_COLLECTED_MIXIN(ScriptLoader);
public:
@@ -134,9 +134,8 @@ class CORE_EXPORT ScriptLoader : public GarbageCollectedFinalized<ScriptLoader>,
ScriptLoaderClient* client() const;
- // ResourceClient
- void notifyFinished(Resource*) override;
- String debugName() const override { return "ScriptLoader"; }
+ // PendingScriptClient
+ void pendingScriptFinished(PendingScript*) override;
Member<Element> m_element;
Member<ScriptResource> m_resource;

Powered by Google App Engine
This is Rietveld 408576698