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

Unified Diff: third_party/WebKit/Source/modules/presentation/PresentationController.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/modules/presentation/PresentationController.cpp
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationController.cpp b/third_party/WebKit/Source/modules/presentation/PresentationController.cpp
index 7794675c11459cbdea3ab766dd5fa6aebee6a58b..1d4b6a6c169a64acb909fb3200ca1757c0893089 100644
--- a/third_party/WebKit/Source/modules/presentation/PresentationController.cpp
+++ b/third_party/WebKit/Source/modules/presentation/PresentationController.cpp
@@ -140,12 +140,12 @@ void PresentationController::registerConnection(
m_connections.add(connection);
}
-void PresentationController::frameDestroyed() {
+void PresentationController::contextDestroyed() {
if (m_client) {
m_client->setController(nullptr);
m_client = nullptr;
}
- DOMWindowProperty::frameDestroyed();
+ DOMWindowProperty::contextDestroyed();
}
PresentationConnection* PresentationController::findConnection(

Powered by Google App Engine
This is Rietveld 408576698