Index: content/test/layouttest_support.cc |
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc |
index 011312750c1d1dc5dc8781850f93f8842672fb3f..3c43e8bc138fa4cf0f54cbad806d6c8c061dc842 100644 |
--- a/content/test/layouttest_support.cc |
+++ b/content/test/layouttest_support.cc |
@@ -9,6 +9,7 @@ |
#include "content/browser/renderer_host/render_widget_host_impl.h" |
#include "content/common/gpu/image_transport_surface.h" |
#include "content/public/common/page_state.h" |
+#include "content/renderer/compositor_bindings/web_layer_impl.h" |
#include "content/renderer/history_entry.h" |
#include "content/renderer/history_serialization.h" |
#include "content/renderer/render_frame_impl.h" |
@@ -302,4 +303,8 @@ std::string DumpBackForwardList(std::vector<PageState>& page_state, |
return result; |
} |
+blink::WebLayer* InstantiateWebLayer(scoped_refptr<cc::TextureLayer> layer) { |
+ return new WebLayerImpl(layer); |
+} |
+ |
} // namespace content |