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

Unified Diff: chrome/browser/gpu/three_d_api_observer.cc

Issue 812823002: Remove dependency of infobars component on the embedder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation on android/win Created 6 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/gpu/three_d_api_observer.cc
diff --git a/chrome/browser/gpu/three_d_api_observer.cc b/chrome/browser/gpu/three_d_api_observer.cc
index d2f8d8e61211acf9f4ca6c75089e1109d9380983..2540b3cdd8d10ae0aeaa39af4228b4c821671e71 100644
--- a/chrome/browser/gpu/three_d_api_observer.cc
+++ b/chrome/browser/gpu/three_d_api_observer.cc
@@ -64,8 +64,8 @@ void ThreeDAPIInfoBarDelegate::Create(InfoBarService* infobar_service,
if (!infobar_service)
return; // NULL for apps.
infobar_service->AddInfoBar(ConfirmInfoBarDelegate::CreateInfoBar(
- scoped_ptr<ConfirmInfoBarDelegate>(
- new ThreeDAPIInfoBarDelegate(url, requester))));
+ infobar_service, scoped_ptr<ConfirmInfoBarDelegate>(
+ new ThreeDAPIInfoBarDelegate(url, requester))));
}
ThreeDAPIInfoBarDelegate::ThreeDAPIInfoBarDelegate(

Powered by Google App Engine
This is Rietveld 408576698