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

Unified Diff: Source/web/WebPluginContainerImpl.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/web/WebPageSerializer.cpp ('k') | Source/web/WebSharedWorkerImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebPluginContainerImpl.cpp
diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp
index 618939f463ab20642b4981249e080b9b9cf0d9e6..195399a9e2d7da12106f8a17f3a63ef22ff5fefb 100644
--- a/Source/web/WebPluginContainerImpl.cpp
+++ b/Source/web/WebPluginContainerImpl.cpp
@@ -453,7 +453,7 @@ WebString WebPluginContainerImpl::executeScriptURL(const WebURL& url, bool popup
void WebPluginContainerImpl::loadFrameRequest(const WebURLRequest& request, const WebString& target, bool notifyNeeded, void* notifyData)
{
Frame* frame = m_element->document().frame();
- if (!frame || !frame->loader()->documentLoader())
+ if (!frame || !frame->loader().documentLoader())
return; // FIXME: send a notification in this case?
if (notifyNeeded) {
@@ -468,7 +468,7 @@ void WebPluginContainerImpl::loadFrameRequest(const WebURLRequest& request, cons
FrameLoadRequest frameRequest(frame->document()->securityOrigin(), request.toResourceRequest(), target);
UserGestureIndicator gestureIndicator(request.hasUserGesture() ? DefinitelyProcessingNewUserGesture : PossiblyProcessingUserGesture);
- frame->loader()->load(frameRequest);
+ frame->loader().load(frameRequest);
}
void WebPluginContainerImpl::zoomLevelChanged(double zoomLevel)
« no previous file with comments | « Source/web/WebPageSerializer.cpp ('k') | Source/web/WebSharedWorkerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698