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

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

Issue 2840663004: PendingScript: Unify watching_for_load_ with client_. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/PendingScript.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/PendingScript.h
diff --git a/third_party/WebKit/Source/core/dom/PendingScript.h b/third_party/WebKit/Source/core/dom/PendingScript.h
index 6886b9bb7e73abb0718a40f719ea46defc7d726c..18882044e0410df536295af86488cca54a535f59 100644
--- a/third_party/WebKit/Source/core/dom/PendingScript.h
+++ b/third_party/WebKit/Source/core/dom/PendingScript.h
@@ -106,13 +106,11 @@ class CORE_EXPORT PendingScript
virtual void DisposeInternal() = 0;
PendingScriptClient* Client() { return client_; }
- bool IsWatchingForLoad() const { return watching_for_load_; }
+ bool IsWatchingForLoad() const { return client_; }
virtual void CheckState() const = 0;
private:
- bool watching_for_load_;
-
// |m_element| must points to the corresponding ScriptLoader's
// ScriptElementBase and thus must be non-null before dispose() is called
// (except for unit tests).
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/PendingScript.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698