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

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

Issue 693483004: Enable Oilpan for core/timing/. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: de-weakify Performance::m_memoryInfo Created 5 years, 8 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
« no previous file with comments | « Source/core/timing/DOMWindowPerformance.h ('k') | Source/core/timing/MemoryInfo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/timing/DOMWindowPerformance.cpp
diff --git a/Source/core/timing/DOMWindowPerformance.cpp b/Source/core/timing/DOMWindowPerformance.cpp
index 16292b4ddbf06f0cfbd04cd335eb3813422165d2..b7180dea467ca7df57a687c19530420ac44f9244 100644
--- a/Source/core/timing/DOMWindowPerformance.cpp
+++ b/Source/core/timing/DOMWindowPerformance.cpp
@@ -13,7 +13,7 @@ namespace blink {
DOMWindowPerformance::DOMWindowPerformance(LocalDOMWindow& window)
: DOMWindowProperty(window.frame())
- , m_window(window)
+ , m_window(&window)
{
}
@@ -21,6 +21,7 @@ DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(DOMWindowPerformance);
DEFINE_TRACE(DOMWindowPerformance)
{
+ visitor->trace(m_window);
visitor->trace(m_performance);
WillBeHeapSupplement<LocalDOMWindow>::trace(visitor);
DOMWindowProperty::trace(visitor);
@@ -52,7 +53,7 @@ Performance* DOMWindowPerformance::performance(DOMWindow& window)
Performance* DOMWindowPerformance::performance()
{
if (!m_performance)
- m_performance = Performance::create(m_window.frame());
+ m_performance = Performance::create(m_window->frame());
return m_performance.get();
}
« no previous file with comments | « Source/core/timing/DOMWindowPerformance.h ('k') | Source/core/timing/MemoryInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698