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

Unified Diff: chrome/browser/tabs/pinned_tab_codec.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
« no previous file with comments | « chrome/browser/tab_contents/web_drop_target_win.cc ('k') | chrome/browser/tabs/tab_finder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tabs/pinned_tab_codec.cc
===================================================================
--- chrome/browser/tabs/pinned_tab_codec.cc (revision 115228)
+++ chrome/browser/tabs/pinned_tab_codec.cc (working copy)
@@ -54,9 +54,9 @@
values->Append(value.release());
} else {
NavigationEntry* entry =
- tab_contents->tab_contents()->controller().GetActiveEntry();
- if (!entry && tab_contents->tab_contents()->controller().entry_count())
- entry = tab_contents->tab_contents()->controller().GetEntryAtIndex(0);
+ tab_contents->tab_contents()->GetController().GetActiveEntry();
+ if (!entry && tab_contents->tab_contents()->GetController().entry_count())
+ entry = tab_contents->tab_contents()->GetController().GetEntryAtIndex(0);
if (entry) {
value->SetString(kURL, entry->url().spec());
values->Append(value.release());
« no previous file with comments | « chrome/browser/tab_contents/web_drop_target_win.cc ('k') | chrome/browser/tabs/tab_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698