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

Unified Diff: content/test/layouttest_support.cc

Issue 1122393003: CC: Plumb LayerSettings parameter for cc::Layer construction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 7 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 | « content/shell/renderer/test_runner/web_test_delegate.h ('k') | media/blink/webmediaplayer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/layouttest_support.cc
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
index c2a6e936a98fa276dd160757a51687f74810250e..f55f1adc1c7eb1ef56cf5484cfb804ec222818de 100644
--- a/content/test/layouttest_support.cc
+++ b/content/test/layouttest_support.cc
@@ -424,6 +424,12 @@ std::string DumpBackForwardList(std::vector<PageState>& page_state,
return result;
}
+scoped_refptr<cc::TextureLayer> CreateTextureLayerForMailbox(
+ cc::TextureLayerClient* client) {
+ return cc::TextureLayer::CreateForMailbox(
+ cc_blink::WebLayerImpl::LayerSettings(), client);
+}
+
blink::WebLayer* InstantiateWebLayer(scoped_refptr<cc::TextureLayer> layer) {
return new cc_blink::WebLayerImpl(layer);
}
« no previous file with comments | « content/shell/renderer/test_runner/web_test_delegate.h ('k') | media/blink/webmediaplayer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698