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

Unified Diff: Source/modules/serviceworkers/NavigatorServiceWorker.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
Index: Source/modules/serviceworkers/NavigatorServiceWorker.cpp
diff --git a/Source/modules/serviceworkers/NavigatorServiceWorker.cpp b/Source/modules/serviceworkers/NavigatorServiceWorker.cpp
index df87469d85aae31624972f945f070ae80e969f90..738d83f14d8ecc959ff03f2d7667515e0280e891 100644
--- a/Source/modules/serviceworkers/NavigatorServiceWorker.cpp
+++ b/Source/modules/serviceworkers/NavigatorServiceWorker.cpp
@@ -74,7 +74,7 @@ WebServiceWorkerProvider* NavigatorServiceWorker::ensureProvider()
if (!m_provider) {
Frame* frame = m_navigator->frame();
- FrameLoaderClient* client = frame->loader()->client();
+ FrameLoaderClient* client = frame->loader().client();
// FIXME: This is temporarily hooked up here until we hook up to the loading process.
m_provider = client->createServiceWorkerProvider(nullptr);
}
« no previous file with comments | « Source/modules/mediastream/RTCPeerConnection.cpp ('k') | Source/modules/websockets/MainThreadWebSocketChannel.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698