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

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

Issue 2463283002: Replace prepareToSuspend() with onMemoryStateChange(SUSPENDED) (Closed)
Patch Set: Remove prepareToSuspend Created 4 years, 1 month 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/PendingScript.h
diff --git a/third_party/WebKit/Source/core/dom/PendingScript.h b/third_party/WebKit/Source/core/dom/PendingScript.h
index 53dff248a4e31aaa6b6393592623e5e73fbbc34b..964f3db1154206fcca27539ec649b7029bf067e4 100644
--- a/third_party/WebKit/Source/core/dom/PendingScript.h
+++ b/third_party/WebKit/Source/core/dom/PendingScript.h
@@ -101,7 +101,7 @@ class CORE_EXPORT PendingScript final
PendingScript(Element*, ScriptResource*);
PendingScript() = delete;
- void prepareToSuspend() override;
+ void onMemoryStateChange(MemoryState) override;
bool m_watchingForLoad;
Member<Element> m_element;

Powered by Google App Engine
This is Rietveld 408576698