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

Unified Diff: components/infobars/test/infobar_test.cc

Issue 501393004: Componentize GoogleURLTracker unittest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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: components/infobars/test/infobar_test.cc
diff --git a/components/infobars/test/infobar_test.cc b/components/infobars/test/infobar_test.cc
index a2f17bb23a0809435cfa508b389049570b8da5b1..f7b5d5e27d3c3670dd2bf71063fe1e8e9a0b408d 100644
--- a/components/infobars/test/infobar_test.cc
+++ b/components/infobars/test/infobar_test.cc
@@ -26,6 +26,6 @@ const int infobars::InfoBar::kDefaultBarTargetHeight = 36;
scoped_ptr<infobars::InfoBar> ConfirmInfoBarDelegate::CreateInfoBar(
scoped_ptr<ConfirmInfoBarDelegate> delegate) {
- NOTREACHED();
- return scoped_ptr<infobars::InfoBar>();
+ return scoped_ptr<infobars::InfoBar>(new infobars::InfoBar(
+ delegate.PassAs<infobars::InfoBarDelegate>()));
Peter Kasting 2014/08/26 17:57:24 If you need a real implementation here now, does t
blundell 2014/09/12 12:48:08 Updated the comment. This is not just temporary in
}

Powered by Google App Engine
This is Rietveld 408576698