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

Unified Diff: ui/app_list/test/run_all_unittests.cc

Issue 303543004: MacViews: views_examples_with_content_exe working! Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add files 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 | « ui/app_list/test/app_list_test_view_delegate.cc ('k') | ui/app_list/views/app_list_demo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/test/run_all_unittests.cc
diff --git a/ui/app_list/test/run_all_unittests.cc b/ui/app_list/test/run_all_unittests.cc
index fa3c94bdd96360d5b5654bf798f96502e3972b01..f8042fd10ebcf931119d398972fc647f0c8b57b5 100644
--- a/ui/app_list/test/run_all_unittests.cc
+++ b/ui/app_list/test/run_all_unittests.cc
@@ -12,7 +12,7 @@
#include "ui/base/resource/resource_bundle.h"
#include "ui/base/ui_base_paths.h"
-#if !defined(OS_MACOSX)
+#if defined(TOOLKIT_VIEWS)
#include "ui/gl/gl_surface.h"
#endif
@@ -24,7 +24,7 @@ class AppListTestSuite : public base::TestSuite {
protected:
virtual void Initialize() OVERRIDE {
-#if !defined(OS_MACOSX)
+#if defined(TOOLKIT_VIEWS)
gfx::GLSurface::InitializeOneOffForTests();
#endif
base::TestSuite::Initialize();
« no previous file with comments | « ui/app_list/test/app_list_test_view_delegate.cc ('k') | ui/app_list/views/app_list_demo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698