| Index: webkit/compositor_bindings/web_layer_impl.cc
|
| diff --git a/webkit/compositor_bindings/web_layer_impl.cc b/webkit/compositor_bindings/web_layer_impl.cc
|
| index 8eec32192a7672bbf8184788c4665080f93a6841..aa53aa6cdcbb9fcd06dcfc9f191330cc528c4045 100644
|
| --- a/webkit/compositor_bindings/web_layer_impl.cc
|
| +++ b/webkit/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"
|
| @@ -171,6 +172,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);
|
|
|