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

Unified Diff: third_party/WebKit/Source/core/loader/appcache/ApplicationCache.cpp

Issue 2388693002: Make DOMWindowProperty a thin wrapper of ContextLifecycleObserver
Patch Set: temp 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/loader/appcache/ApplicationCache.cpp
diff --git a/third_party/WebKit/Source/core/loader/appcache/ApplicationCache.cpp b/third_party/WebKit/Source/core/loader/appcache/ApplicationCache.cpp
index 19e71db1ece31090638c95b99c4eb24bc0cba0e8..ceec7f2a4944444ef86cd9460a70b42ffd03838e 100644
--- a/third_party/WebKit/Source/core/loader/appcache/ApplicationCache.cpp
+++ b/third_party/WebKit/Source/core/loader/appcache/ApplicationCache.cpp
@@ -50,10 +50,10 @@ DEFINE_TRACE(ApplicationCache) {
DOMWindowProperty::trace(visitor);
}
-void ApplicationCache::frameDestroyed() {
+void ApplicationCache::contextDestroyed() {
if (ApplicationCacheHost* cacheHost = applicationCacheHost())
cacheHost->setApplicationCache(0);
- DOMWindowProperty::frameDestroyed();
+ DOMWindowProperty::contextDestroyed();
}
ApplicationCacheHost* ApplicationCache::applicationCacheHost() const {

Powered by Google App Engine
This is Rietveld 408576698