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

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

Issue 211273007: Split InfoBarService core code into InfoBarManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + comments Created 6 years, 9 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 91e131c971624e4dd4e5326c10a96682c3184f89..ea7f212a39731295c25343b17085633d58b34527 100644
--- a/chrome/browser/android/tab_android.cc
+++ b/chrome/browser/android/tab_android.cc
@@ -229,9 +229,9 @@ void TabAndroid::SwapTabContents(content::WebContents* old_contents,
Java_Tab_getNativeInfoBarContainer(
env,
weak_java_tab_.get(env).obj()));
- InfoBarService* new_infobar_service = new_contents ?
- InfoBarService::FromWebContents(new_contents) : NULL;
- infobar_container->ChangeInfoBarService(new_infobar_service);
+ InfoBarManager* new_infobar_manager = new_contents ?
+ InfoBarService::InfoBarManagerFromWebContents(new_contents) : NULL;
+ infobar_container->ChangeInfoBarManager(new_infobar_manager);
Java_Tab_swapWebContents(
env,
« no previous file with comments | « chrome/browser/accessibility/accessibility_extension_api.cc ('k') | chrome/browser/autofill/autofill_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698