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

Unified Diff: ui/gfx/compositor/test/test_suite.cc

Issue 9288053: Remove old (pre-webkit) compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 8 years, 11 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/gfx/compositor/test/test_compositor.cc ('k') | ui/gfx/gfx_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/compositor/test/test_suite.cc
diff --git a/ui/gfx/compositor/test/test_suite.cc b/ui/gfx/compositor/test/test_suite.cc
index 2ac22d4408813b797a4acc5db5add3b3308df669..78a14e0a5a2c01f1f9dad64a2d9a693dd8147c9c 100644
--- a/ui/gfx/compositor/test/test_suite.cc
+++ b/ui/gfx/compositor/test/test_suite.cc
@@ -6,16 +6,12 @@
#include "base/message_loop.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h"
-#include "ui/base/resource/resource_bundle.h"
#include "ui/base/ui_base_paths.h"
+#include "ui/gfx/compositor/compositor_cc.h"
#include "ui/gfx/compositor/test/compositor_test_support.h"
#include "ui/gfx/gfx_paths.h"
#include "ui/gfx/gl/gl_implementation.h"
-#if defined(USE_WEBKIT_COMPOSITOR)
-#include "ui/gfx/compositor/compositor_cc.h"
-#endif
-
CompositorTestSuite::CompositorTestSuite(int argc, char** argv)
: TestSuite(argc, argv) {}
@@ -28,23 +24,16 @@ void CompositorTestSuite::Initialize() {
base::TestSuite::Initialize();
gfx::RegisterPathProvider();
- ui::RegisterPathProvider();
message_loop_.reset(new MessageLoop(MessageLoop::TYPE_UI));
ui::CompositorTestSupport::Initialize();
-#if defined(USE_WEBKIT_COMPOSITOR)
ui::CompositorCC::Initialize(false);
-#endif
}
void CompositorTestSuite::Shutdown() {
-#if defined(USE_WEBKIT_COMPOSITOR)
ui::CompositorCC::Terminate();
-#endif
ui::CompositorTestSupport::Terminate();
message_loop_.reset();
- ui::ResourceBundle::CleanupSharedInstance();
-
base::TestSuite::Shutdown();
}
« no previous file with comments | « ui/gfx/compositor/test/test_compositor.cc ('k') | ui/gfx/gfx_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698