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

Unified Diff: trunk/src/ash/screensaver/screensaver_view_unittest.cc

Issue 286753002: Revert 270290 "Reduce creation of ViewsDelegate" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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
« no previous file with comments | « trunk/src/ash/first_run/first_run_helper_unittest.cc ('k') | trunk/src/ash/test/ash_test_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ash/screensaver/screensaver_view_unittest.cc
===================================================================
--- trunk/src/ash/screensaver/screensaver_view_unittest.cc (revision 270304)
+++ trunk/src/ash/screensaver/screensaver_view_unittest.cc (working copy)
@@ -18,6 +18,7 @@
public:
ScreensaverViewTest() {
url_ = GURL("http://www.google.com");
+ views_delegate_.reset(new AshTestViewsDelegate());
webview_test_helper_.reset(new views::WebViewTestHelper());
}
@@ -43,6 +44,7 @@
GURL url_;
private:
+ scoped_ptr<AshTestViewsDelegate> views_delegate_;
scoped_ptr<views::WebViewTestHelper> webview_test_helper_;
DISALLOW_COPY_AND_ASSIGN(ScreensaverViewTest);
« no previous file with comments | « trunk/src/ash/first_run/first_run_helper_unittest.cc ('k') | trunk/src/ash/test/ash_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698