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

Unified Diff: ash/screensaver/screensaver_view_unittest.cc

Issue 10447096: Fix webview example in views examples. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cros clang fix. Created 8 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 | « no previous file | ash/test/ash_test_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/screensaver/screensaver_view_unittest.cc
diff --git a/ash/screensaver/screensaver_view_unittest.cc b/ash/screensaver/screensaver_view_unittest.cc
index 47a19e2e89c9ad3e796ba4e4b2c74b8d3d00fa4f..25cfb6d58e9eb47617b24c964e3a3f80d5102fce 100644
--- a/ash/screensaver/screensaver_view_unittest.cc
+++ b/ash/screensaver/screensaver_view_unittest.cc
@@ -8,7 +8,6 @@
#include "base/bind.h"
#include "content/public/browser/browser_context.h"
#include "ui/views/controls/webview/webview.h"
-#include "ui/views/test/test_views_delegate.h"
#include "ui/views/test/webview_test_helper.h"
namespace ash {
@@ -18,7 +17,7 @@ class ScreensaverViewTest : public ash::test::AshTestBase {
public:
ScreensaverViewTest() {
url_ = GURL("http://www.google.com");
- views_delegate_.reset(new views::TestViewsDelegate);
+ views_delegate_.reset(new AshTestViewsDelegate);
webview_test_helper_.reset(new views::WebViewTestHelper(message_loop()));
}
@@ -57,7 +56,7 @@ class ScreensaverViewTest : public ash::test::AshTestBase {
GURL url_;
private:
- scoped_ptr<views::TestViewsDelegate> views_delegate_;
+ scoped_ptr<AshTestViewsDelegate> views_delegate_;
scoped_ptr<views::WebViewTestHelper> webview_test_helper_;
DISALLOW_COPY_AND_ASSIGN(ScreensaverViewTest);
« no previous file with comments | « no previous file | ash/test/ash_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698