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

Unified Diff: chrome/browser/guest_view/app_view/chrome_app_view_guest_delegate.cc

Issue 678653003: Remove Downcasting RVContextMenuBase in ContextMenuDeleagate implementations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove virtual keyword when override is specified Created 6 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: chrome/browser/guest_view/app_view/chrome_app_view_guest_delegate.cc
diff --git a/chrome/browser/guest_view/app_view/chrome_app_view_guest_delegate.cc b/chrome/browser/guest_view/app_view/chrome_app_view_guest_delegate.cc
index c93001331dbc58c06b419d10e94d2c75dca533c6..f8000df8519a83d0767b5ffa58348326fa220625 100644
--- a/chrome/browser/guest_view/app_view/chrome_app_view_guest_delegate.cc
+++ b/chrome/browser/guest_view/app_view/chrome_app_view_guest_delegate.cc
@@ -21,7 +21,7 @@ bool ChromeAppViewGuestDelegate::HandleContextMenu(
ContextMenuDelegate::FromWebContents(web_contents);
DCHECK(menu_delegate);
- scoped_ptr<RenderViewContextMenu> menu =
+ scoped_ptr<RenderViewContextMenuBase> menu =
menu_delegate->BuildMenu(web_contents, params);
menu_delegate->ShowMenu(menu.Pass());
return true;

Powered by Google App Engine
This is Rietveld 408576698