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

Unified Diff: trunk/src/chrome/test/gpu/webgl_infobar_browsertest.cc

Issue 102163002: Revert 238283 "Infobar system refactor." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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: trunk/src/chrome/test/gpu/webgl_infobar_browsertest.cc
===================================================================
--- trunk/src/chrome/test/gpu/webgl_infobar_browsertest.cc (revision 238401)
+++ trunk/src/chrome/test/gpu/webgl_infobar_browsertest.cc (working copy)
@@ -7,7 +7,6 @@
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/chrome_notification_types.h"
#include "chrome/browser/infobars/confirm_infobar_delegate.h"
-#include "chrome/browser/infobars/infobar.h"
#include "chrome/browser/infobars/infobar_service.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_commands.h"
@@ -142,7 +141,7 @@
InfoBarService* infobar_service = InfoBarService::FromWebContents(
browser()->tab_strip_model()->GetActiveWebContents());
ASSERT_EQ(1u, infobar_service->infobar_count());
- InfoBarDelegate* delegate = infobar_service->infobar_at(0)->delegate();
+ InfoBarDelegate* delegate = infobar_service->infobar_at(0);
ASSERT_TRUE(delegate->AsThreeDAPIInfoBarDelegate());
delegate->AsConfirmInfoBarDelegate()->Cancel();
« no previous file with comments | « trunk/src/chrome/browser/ui/website_settings/website_settings_unittest.cc ('k') | trunk/src/chrome/test/ppapi/ppapi_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698