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

Unified Diff: trunk/src/chrome/test/ppapi/ppapi_test.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/ppapi/ppapi_test.cc
===================================================================
--- trunk/src/chrome/test/ppapi/ppapi_test.cc (revision 238401)
+++ trunk/src/chrome/test/ppapi/ppapi_test.cc (working copy)
@@ -109,9 +109,8 @@
return;
expecting_infobar_ = false;
- InfoBar* infobar = infobar_service->infobar_at(0);
- ConfirmInfoBarDelegate* delegate =
- infobar->delegate()->AsConfirmInfoBarDelegate();
+ InfoBarDelegate* infobar = infobar_service->infobar_at(0);
+ ConfirmInfoBarDelegate* delegate = infobar->AsConfirmInfoBarDelegate();
ASSERT_TRUE(delegate != NULL);
if (should_accept_)
delegate->Accept();
« no previous file with comments | « trunk/src/chrome/test/gpu/webgl_infobar_browsertest.cc ('k') | trunk/src/tools/valgrind/memcheck/suppressions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698