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

Unified Diff: Source/core/frame/Console.cpp

Issue 106353005: Expose performance.memory in workers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@Perf-Memory-SharedWorker
Patch Set: Created 6 years, 7 months 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/frame/Console.cpp
diff --git a/Source/core/frame/Console.cpp b/Source/core/frame/Console.cpp
index e7a0aba3f30a0644b82bab5b93f4d6a509c32d7e..d8726a4f30fe58974214fbfb5661aeaa5715361e 100644
--- a/Source/core/frame/Console.cpp
+++ b/Source/core/frame/Console.cpp
@@ -80,7 +80,7 @@ PassRefPtrWillBeRawPtr<MemoryInfo> Console::memory() const
{
// FIXME: Because we create a new object here each time,
// console.memory !== console.memory, which seems wrong.
- return MemoryInfo::create(m_frame);
+ return MemoryInfo::create();
}
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698