| Index: webkit/support/test_webkit_platform_support.cc
|
| diff --git a/webkit/support/test_webkit_platform_support.cc b/webkit/support/test_webkit_platform_support.cc
|
| index 37afb4cb4e38fc2e752385b5779447156d40093c..dba8fef5a4d862a2cc9ebbd61682e2a732487a7d 100644
|
| --- a/webkit/support/test_webkit_platform_support.cc
|
| +++ b/webkit/support/test_webkit_platform_support.cc
|
| @@ -31,6 +31,7 @@
|
| #include "third_party/hyphen/hyphen.h"
|
| #include "v8/include/v8.h"
|
| #include "webkit/appcache/web_application_cache_host_impl.h"
|
| +#include "webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.h"
|
| #include "webkit/database/vfs_backend.h"
|
| #include "webkit/glue/simple_webmimeregistry_impl.h"
|
| #include "webkit/glue/webclipboard_impl.h"
|
| @@ -581,3 +582,12 @@ WebKit::WebString TestWebKitPlatformSupport::webKitRootDir() {
|
| return webkit_support::GetWebKitRootDir();
|
| }
|
|
|
| +WebKit::WebLayerTreeView*
|
| + TestWebKitPlatformSupport::createLayerTreeViewForTesting() {
|
| + scoped_ptr<WebKit::WebLayerTreeViewImplForTesting> view(
|
| + new WebKit::WebLayerTreeViewImplForTesting);
|
| + if (!view->initialize())
|
| + return NULL;
|
| + return view.release();
|
| +}
|
| +
|
|
|