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

Unified Diff: Source/core/loader/appcache/ApplicationCache.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/loader/ProgressTracker.cpp ('k') | Source/core/page/CreateWindow.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/appcache/ApplicationCache.cpp
diff --git a/Source/core/loader/appcache/ApplicationCache.cpp b/Source/core/loader/appcache/ApplicationCache.cpp
index bc9ac05a20d38e5c71f9936f4f5a639194b1fd26..460605a220a006e57cbfa097f65876cc2f860d81 100644
--- a/Source/core/loader/appcache/ApplicationCache.cpp
+++ b/Source/core/loader/appcache/ApplicationCache.cpp
@@ -57,9 +57,9 @@ void ApplicationCache::willDestroyGlobalObjectInFrame()
ApplicationCacheHost* ApplicationCache::applicationCacheHost() const
{
- if (!m_frame || !m_frame->loader()->documentLoader())
+ if (!m_frame || !m_frame->loader().documentLoader())
return 0;
- return m_frame->loader()->documentLoader()->applicationCacheHost();
+ return m_frame->loader().documentLoader()->applicationCacheHost();
}
unsigned short ApplicationCache::status() const
« no previous file with comments | « Source/core/loader/ProgressTracker.cpp ('k') | Source/core/page/CreateWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698