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

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

Issue 2375873003: Make DOMWindowProperty::m_frame private (Closed)
Patch Set: Created 4 years, 3 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: third_party/WebKit/Source/core/timing/Performance.cpp
diff --git a/third_party/WebKit/Source/core/timing/Performance.cpp b/third_party/WebKit/Source/core/timing/Performance.cpp
index e584ca6bb4ac0fa2b7bc2125a41536d0d3461c48..4d7ebcccf09214341b4dbe144e8f8454664639b1 100644
--- a/third_party/WebKit/Source/core/timing/Performance.cpp
+++ b/third_party/WebKit/Source/core/timing/Performance.cpp
@@ -81,7 +81,7 @@ MemoryInfo* Performance::memory()
PerformanceNavigation* Performance::navigation() const
{
if (!m_navigation)
- m_navigation = PerformanceNavigation::create(m_frame);
+ m_navigation = PerformanceNavigation::create(frame());
return m_navigation.get();
}
@@ -89,7 +89,7 @@ PerformanceNavigation* Performance::navigation() const
PerformanceTiming* Performance::timing() const
{
if (!m_timing)
- m_timing = PerformanceTiming::create(m_frame);
+ m_timing = PerformanceTiming::create(frame());
return m_timing.get();
}

Powered by Google App Engine
This is Rietveld 408576698