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

Unified Diff: chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc

Issue 8956050: Rename TabContents::controller() to GetController and put it into the WebContents interface. (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/ui/views/tabs/browser_tab_strip_controller.cc
===================================================================
--- chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc (revision 115228)
+++ chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc (working copy)
@@ -299,8 +299,8 @@
}
bool BrowserTabStripController::IsCompatibleWith(TabStrip* other) const {
- Profile* other_profile =
- static_cast<BrowserTabStripController*>(other->controller())->profile();
+ Profile* other_profile = static_cast<BrowserTabStripController*>(
+ other->controller())->profile();
return other_profile == profile();
}
« no previous file with comments | « chrome/browser/ui/views/tab_contents/tab_contents_container.cc ('k') | chrome/browser/ui/web_applications/web_app_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698