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

Unified Diff: chrome/browser/ui/browser_commands.cc

Issue 10891033: Switch MetroPinTabHelper to use WebContentsUserData. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: small clean Created 8 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/ui/metro_pin_tab_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_commands.cc
diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc
index b372acf2c7dae784bc934a7b116c165cfc1ca0e4..5b166f5d62cf97dd567e2026514c2fe9eacd8213 100644
--- a/chrome/browser/ui/browser_commands.cc
+++ b/chrome/browser/ui/browser_commands.cc
@@ -609,7 +609,7 @@ bool CanBookmarkAllTabs(const Browser* browser) {
}
void TogglePagePinnedToStartScreen(Browser* browser) {
- GetActiveTabContents(browser)->metro_pin_tab_helper()->
+ MetroPinTabHelper::FromWebContents(GetActiveWebContents(browser))->
TogglePinnedToStartScreen();
}
« no previous file with comments | « no previous file | chrome/browser/ui/metro_pin_tab_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698