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

Unified Diff: third_party/WebKit/Source/web/WebPluginContainerImpl.cpp

Issue 2849403002: Use const ref for LocalFrame::LocalFrameRoot and FrameTree::Top (Closed)
Patch Set: Created 3 years, 8 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/web/WebPluginContainerImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
index 6e5040cb003bbede836d33c631c170d52a981511..6d06b0396795facefe76936fd206a699d25386bc 100644
--- a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
+++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
@@ -729,7 +729,7 @@ void WebPluginContainerImpl::HandleMouseEvent(MouseEvent* event) {
return;
ToChromeClientImpl(page->GetChromeClient())
.SetCursorForPlugin(cursor_info,
- parent_view->GetFrame().LocalFrameRoot());
+ &parent_view->GetFrame().LocalFrameRoot());
}
void WebPluginContainerImpl::HandleDragEvent(MouseEvent* event) {

Powered by Google App Engine
This is Rietveld 408576698