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

Unified Diff: chrome/browser/android/tab_android.cc

Issue 228293004: InfoBarService inherits from InfoBarManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: whitespace Created 6 years, 8 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
Index: chrome/browser/android/tab_android.cc
diff --git a/chrome/browser/android/tab_android.cc b/chrome/browser/android/tab_android.cc
index fdd4766ada31718c6318283de6213422c33a0829..e7971012876c8449ea123caab099edbc97319adc 100644
--- a/chrome/browser/android/tab_android.cc
+++ b/chrome/browser/android/tab_android.cc
@@ -231,9 +231,9 @@ void TabAndroid::SwapTabContents(content::WebContents* old_contents,
Java_Tab_getNativeInfoBarContainer(
env,
weak_java_tab_.get(env).obj()));
- InfoBarManager* new_infobar_manager = new_contents ?
- InfoBarService::InfoBarManagerFromWebContents(new_contents) : NULL;
- infobar_container->ChangeInfoBarManager(new_infobar_manager);
+ InfoBarService* new_infobar_service =
+ new_contents ? InfoBarService::FromWebContents(new_contents) : NULL;
+ infobar_container->ChangeInfoBarManager(new_infobar_service);
Java_Tab_swapWebContents(
env,

Powered by Google App Engine
This is Rietveld 408576698