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

Unified Diff: third_party/WebKit/Source/core/timing/WorkerPerformance.cpp

Issue 2553033004: Remove ContextLifecycleObserver from WorkerPerformance (Closed)
Patch Set: 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 | « third_party/WebKit/Source/core/timing/WorkerPerformance.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/timing/WorkerPerformance.cpp
diff --git a/third_party/WebKit/Source/core/timing/WorkerPerformance.cpp b/third_party/WebKit/Source/core/timing/WorkerPerformance.cpp
index fdb0c18f28aad4545f73c93cdf5ef55620fc723c..d729e7eb95a41a1b77f9b644807907950dc827af 100644
--- a/third_party/WebKit/Source/core/timing/WorkerPerformance.cpp
+++ b/third_party/WebKit/Source/core/timing/WorkerPerformance.cpp
@@ -38,16 +38,11 @@
namespace blink {
WorkerPerformance::WorkerPerformance(WorkerGlobalScope* context)
- : PerformanceBase(context->timeOrigin()),
- ContextLifecycleObserver(context) {}
-
-ExecutionContext* WorkerPerformance::getExecutionContext() const {
- return ContextLifecycleObserver::getExecutionContext();
-}
+ : PerformanceBase(context->timeOrigin()), m_executionContext(context) {}
DEFINE_TRACE(WorkerPerformance) {
+ visitor->trace(m_executionContext);
PerformanceBase::trace(visitor);
- ContextLifecycleObserver::trace(visitor);
}
MemoryInfo* WorkerPerformance::memory() {
« no previous file with comments | « third_party/WebKit/Source/core/timing/WorkerPerformance.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698