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

Unified Diff: third_party/WebKit/Source/core/timing/Performance.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/timing/Performance.cpp
diff --git a/third_party/WebKit/Source/core/timing/Performance.cpp b/third_party/WebKit/Source/core/timing/Performance.cpp
index 7137b1a18193c88bebab5984ea8c3bb4c291ef9a..60496e112c2c88c014793f4a87e82c1e84d4d660 100644
--- a/third_party/WebKit/Source/core/timing/Performance.cpp
+++ b/third_party/WebKit/Source/core/timing/Performance.cpp
@@ -107,9 +107,9 @@ Performance::~Performance() {
frame()->performanceMonitor()->unsubscribeAll(this);
}
-void Performance::frameDestroyed() {
+void Performance::contextDestroyed() {
frame()->performanceMonitor()->unsubscribeAll(this);
- DOMWindowProperty::frameDestroyed();
+ DOMWindowProperty::contextDestroyed();
}
ExecutionContext* Performance::getExecutionContext() const {

Powered by Google App Engine
This is Rietveld 408576698