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

Unified Diff: chrome/browser/tab_contents/render_view_context_menu.cc

Issue 9003014: Replace WebUI::tab_contents() with web_contents() and switch all users to use web_contents.h inst... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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/tab_contents/render_view_context_menu.cc
===================================================================
--- chrome/browser/tab_contents/render_view_context_menu.cc (revision 116011)
+++ chrome/browser/tab_contents/render_view_context_menu.cc (working copy)
@@ -524,7 +524,7 @@
bool has_link = !params_.unfiltered_link_url.is_empty();
bool has_selection = !params_.selection_text.empty();
- Browser* active_browser = BrowserList::FindBrowserWithTabContents(
+ Browser* active_browser = BrowserList::FindBrowserWithWebContents(
source_tab_contents_);
if (active_browser && active_browser->is_app()) {
const std::string ext_id = web_app::GetExtensionIdFromApplicationName(
« no previous file with comments | « chrome/browser/tab_contents/background_contents.cc ('k') | chrome/browser/task_manager/task_manager_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698