summaryrefslogtreecommitdiffstats
path: root/cc/test/web_compositor_initializer.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/test/web_compositor_initializer.h')
-rw-r--r--cc/test/web_compositor_initializer.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/cc/test/web_compositor_initializer.h b/cc/test/web_compositor_initializer.h
deleted file mode 100644
index f6203b1..0000000
--- 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