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

Unified Diff: Source/core/timing/Performance.cpp

Issue 106353005: Expose performance.memory in workers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@Perf-Memory-SharedWorker
Patch Set: Created 7 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: Source/core/timing/Performance.cpp
diff --git a/Source/core/timing/Performance.cpp b/Source/core/timing/Performance.cpp
index e441579b930df6dc43251b7f826effcfc1e855d6..11e186dd09e54f082b4270a107061ee222aed35c 100644
--- a/Source/core/timing/Performance.cpp
+++ b/Source/core/timing/Performance.cpp
@@ -74,7 +74,7 @@ ExecutionContext* Performance::executionContext() const
PassRefPtr<MemoryInfo> Performance::memory() const
{
- return MemoryInfo::create(m_frame);
+ return MemoryInfo::create(executionContext());
}
PerformanceNavigation* Performance::navigation() const

Powered by Google App Engine
This is Rietveld 408576698