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

Unified Diff: third_party/WebKit/Source/core/timing/PerformanceNavigation.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/PerformanceNavigation.cpp
diff --git a/third_party/WebKit/Source/core/timing/PerformanceNavigation.cpp b/third_party/WebKit/Source/core/timing/PerformanceNavigation.cpp
index 1fd51f9beeb897d9736d597c350dbc1133175d97..49745032ac04d158933a556a1e9cbb4fc38b5fa8 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceNavigation.cpp
+++ b/third_party/WebKit/Source/core/timing/PerformanceNavigation.cpp
@@ -43,10 +43,10 @@ PerformanceNavigation::PerformanceNavigation(LocalFrame* frame)
unsigned short PerformanceNavigation::type() const
{
- if (!m_frame)
+ if (!frame())
return kTypeNavigate;
- DocumentLoader* documentLoader = m_frame->loader().documentLoader();
+ DocumentLoader* documentLoader = frame()->loader().documentLoader();
if (!documentLoader)
return kTypeNavigate;
@@ -62,10 +62,10 @@ unsigned short PerformanceNavigation::type() const
unsigned short PerformanceNavigation::redirectCount() const
{
- if (!m_frame)
+ if (!frame())
return 0;
- DocumentLoader* loader = m_frame->loader().documentLoader();
+ DocumentLoader* loader = frame()->loader().documentLoader();
if (!loader)
return 0;
« no previous file with comments | « third_party/WebKit/Source/core/timing/Performance.cpp ('k') | third_party/WebKit/Source/core/timing/PerformanceTiming.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698