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

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: Re-work Android LayerSettings. 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
Index: content/test/layouttest_support.cc
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
index 731f9918672f08bd8b40fbd6026c1a453c974e14..38790bf8d901da8d27aae0cc0faf881408170f84 100644
--- a/content/test/layouttest_support.cc
+++ b/content/test/layouttest_support.cc
@@ -416,6 +416,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);
}

Powered by Google App Engine
This is Rietveld 408576698