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

Unified Diff: cc/blink/web_nine_patch_layer_impl.cc

Issue 1101823002: CC Animations: Make LayerAnimationController creation optional (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Plumb LayerSettings parameter for cc::Layer construction. 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: cc/blink/web_nine_patch_layer_impl.cc
diff --git a/cc/blink/web_nine_patch_layer_impl.cc b/cc/blink/web_nine_patch_layer_impl.cc
index 094349182fa52c98784b34de9aba6a70a1eb9d34..8dd9980f331fd88c3d6336068a8175793d3e0691 100644
--- a/cc/blink/web_nine_patch_layer_impl.cc
+++ b/cc/blink/web_nine_patch_layer_impl.cc
@@ -14,7 +14,8 @@
namespace cc_blink {
WebNinePatchLayerImpl::WebNinePatchLayerImpl() {
- layer_.reset(new WebLayerImpl(cc::NinePatchLayer::Create()));
+ layer_.reset(new WebLayerImpl(
+ cc::NinePatchLayer::Create(WebLayerImpl::LayerSettings())));
}
WebNinePatchLayerImpl::~WebNinePatchLayerImpl() {

Powered by Google App Engine
This is Rietveld 408576698