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

Unified Diff: cc/test/web_compositor_initializer.h

Issue 11344004: Remove WebKit::Platform dependencies from cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix webkit_compositor_bindings_unittests Created 8 years, 2 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 | « cc/test/test_webkit_platform.cc ('k') | cc/texture_layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/web_compositor_initializer.h
diff --git a/cc/test/web_compositor_initializer.h b/cc/test/web_compositor_initializer.h
deleted file mode 100644
index f6203b117bc4a848c194ec0df07b7a4006bd8fe5..0000000000000000000000000000000000000000
--- a/cc/test/web_compositor_initializer.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef WebCompositorInitializer_h
-#define WebCompositorInitializer_h
-
-#include "base/basictypes.h"
-#include <public/Platform.h>
-#include <public/WebCompositorSupport.h>
-
-namespace WebKit {
-class WebThread;
-}
-
-namespace WebKitTests {
-
-class WebCompositorInitializer {
-public:
- explicit WebCompositorInitializer(WebKit::WebThread* thread)
- {
- WebKit::Platform::current()->compositorSupport()->initialize(thread);
- }
-
- ~WebCompositorInitializer()
- {
- WebKit::Platform::current()->compositorSupport()->shutdown();
- }
-
-private:
- DISALLOW_COPY_AND_ASSIGN(WebCompositorInitializer);
-};
-
-}
-
-#endif // WebCompositorInitializer_h
« no previous file with comments | « cc/test/test_webkit_platform.cc ('k') | cc/texture_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698