OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ui/gfx/compositor/test/compositor_test_support.h" | 5 #include "ui/compositor/test/compositor_test_support.h" |
6 | 6 |
7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" | 8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" |
9 #include "webkit/glue/webkitplatformsupport_impl.h" | 9 #include "webkit/glue/webkitplatformsupport_impl.h" |
10 | 10 |
11 namespace ui { | 11 namespace ui { |
12 | 12 |
13 class CompositorTestPlatformSupport: | 13 class CompositorTestPlatformSupport: |
14 public NON_EXPORTED_BASE(webkit_glue::WebKitPlatformSupportImpl) { | 14 public NON_EXPORTED_BASE(webkit_glue::WebKitPlatformSupportImpl) { |
15 public: | 15 public: |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 } | 49 } |
50 | 50 |
51 void CompositorTestSupport::Terminate() { | 51 void CompositorTestSupport::Terminate() { |
52 DCHECK(g_webkit_support); | 52 DCHECK(g_webkit_support); |
53 WebKit::shutdown(); | 53 WebKit::shutdown(); |
54 delete g_webkit_support; | 54 delete g_webkit_support; |
55 g_webkit_support = NULL; | 55 g_webkit_support = NULL; |
56 } | 56 } |
57 | 57 |
58 } // namespace ui | 58 } // namespace ui |
OLD | NEW |