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

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

Issue 31063004: Have Frame::loader() return a reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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/testing/MockPagePopupDriver.cpp ('k') | Source/core/timing/PerformanceTiming.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/timing/PerformanceNavigation.cpp
diff --git a/Source/core/timing/PerformanceNavigation.cpp b/Source/core/timing/PerformanceNavigation.cpp
index 2a19b71d2c556a1699322c3507ed638e203062ad..7e94d7596e487a3d4f3c643bbafbc23cd810fc30 100644
--- a/Source/core/timing/PerformanceNavigation.cpp
+++ b/Source/core/timing/PerformanceNavigation.cpp
@@ -48,7 +48,7 @@ unsigned short PerformanceNavigation::type() const
if (!m_frame)
return TYPE_NAVIGATE;
- DocumentLoader* documentLoader = m_frame->loader()->documentLoader();
+ DocumentLoader* documentLoader = m_frame->loader().documentLoader();
if (!documentLoader)
return TYPE_NAVIGATE;
@@ -68,7 +68,7 @@ unsigned short PerformanceNavigation::redirectCount() const
if (!m_frame)
return 0;
- DocumentLoader* loader = m_frame->loader()->documentLoader();
+ DocumentLoader* loader = m_frame->loader().documentLoader();
if (!loader)
return 0;
« no previous file with comments | « Source/core/testing/MockPagePopupDriver.cpp ('k') | Source/core/timing/PerformanceTiming.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698