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

Unified Diff: third_party/WebKit/Source/core/timing/Performance.h

Issue 2569153002: Remove DOMWindowProperty from Performance (Closed)
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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/timing/Performance.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/timing/Performance.h
diff --git a/third_party/WebKit/Source/core/timing/Performance.h b/third_party/WebKit/Source/core/timing/Performance.h
index 339aaf8e084f8718842eed91c71f32c29adfd400..2fcc3d8133e39dac14488249158363b44f68b015 100644
--- a/third_party/WebKit/Source/core/timing/Performance.h
+++ b/third_party/WebKit/Source/core/timing/Performance.h
@@ -33,7 +33,7 @@
#define Performance_h
#include "core/CoreExport.h"
-#include "core/frame/DOMWindowProperty.h"
+#include "core/dom/ContextLifecycleObserver.h"
#include "core/frame/PerformanceMonitor.h"
#include "core/timing/MemoryInfo.h"
#include "core/timing/PerformanceBase.h"
@@ -46,7 +46,7 @@ class ScriptState;
class ScriptValue;
class CORE_EXPORT Performance final : public PerformanceBase,
- public DOMWindowProperty,
+ public ContextLifecycleObserver,
public PerformanceMonitor::Client {
DEFINE_WRAPPERTYPEINFO();
USING_GARBAGE_COLLECTED_MIXIN(Performance);
@@ -73,8 +73,8 @@ class CORE_EXPORT Performance final : public PerformanceBase,
private:
explicit Performance(LocalFrame*);
- // DOMWindowProperty overrides.
- void frameDestroyed() override;
+ // ContextLifecycleObserver overrides.
+ void contextDestroyed() override;
static std::pair<String, DOMWindow*> sanitizedAttribution(
ExecutionContext*,
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/timing/Performance.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698