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

Unified Diff: chrome/browser/bookmarks/bookmark_manager_extension_api.cc

Issue 8949061: Move a bunch of methods from TabContents into the WebContents interface. This change either moves... (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/bookmarks/bookmark_manager_extension_api.cc
===================================================================
--- chrome/browser/bookmarks/bookmark_manager_extension_api.cc (revision 115435)
+++ chrome/browser/bookmarks/bookmark_manager_extension_api.cc (working copy)
@@ -424,7 +424,7 @@
dispatcher()->delegate()->GetAssociatedTabContents();
CHECK(tab_contents);
ExtensionWebUI* web_ui =
- static_cast<ExtensionWebUI*>(tab_contents->web_ui());
+ static_cast<ExtensionWebUI*>(tab_contents->GetWebUI());
CHECK(web_ui);
BookmarkManagerExtensionEventRouter* router =
web_ui->bookmark_manager_extension_event_router();
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.cc ('k') | chrome/browser/chromeos/login/webui_login_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698