| Index: webkit/renderer/compositor_bindings/web_layer_impl.cc
|
| diff --git a/webkit/renderer/compositor_bindings/web_layer_impl.cc b/webkit/renderer/compositor_bindings/web_layer_impl.cc
|
| index 6c2e65fc1c146db8db17c8a9199c131339cacf22..d3b67491efe9cff76f5f41fab932ad83c2a6993d 100644
|
| --- a/webkit/renderer/compositor_bindings/web_layer_impl.cc
|
| +++ b/webkit/renderer/compositor_bindings/web_layer_impl.cc
|
| @@ -9,6 +9,7 @@
|
| #include "cc/base/region.h"
|
| #include "cc/layers/layer.h"
|
| #include "cc/layers/layer_position_constraint.h"
|
| +#include "third_party/WebKit/Source/Platform/chromium/public/WebCompositingReasons.h"
|
| #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h"
|
| #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatRect.h"
|
| #include "third_party/WebKit/Source/Platform/chromium/public/WebLayerPositionConstraint.h"
|
| @@ -170,6 +171,11 @@ void WebLayerImpl::setDebugName(WebKit::WebString name) {
|
| UTF16ToASCII(base::string16(name.data(), name.length())));
|
| }
|
|
|
| +void WebLayerImpl::setCompositingReasons(
|
| + WebKit::WebCompositingReasons reasons) {
|
| + layer_->SetCompositingReasons(reasons);
|
| +}
|
| +
|
| void WebLayerImpl::setAnimationDelegate(
|
| WebKit::WebAnimationDelegate* delegate) {
|
| layer_->set_layer_animation_delegate(delegate);
|
|
|