Index: Source/Platform/chromium/public/WebLayer.h |
diff --git a/Source/Platform/chromium/public/WebLayer.h b/Source/Platform/chromium/public/WebLayer.h |
index 599e6d881777752613fb21fc9ccdfe3df9f5bdac..e49ef69d74cd20fca943d74c1b366d2787932879 100644 |
--- a/Source/Platform/chromium/public/WebLayer.h |
+++ b/Source/Platform/chromium/public/WebLayer.h |
@@ -29,6 +29,7 @@ |
#include "WebAnimation.h" |
#include "WebColor.h" |
#include "WebCommon.h" |
+#include "WebCompositingReasons.h" |
// Remove after making setPositionConstraint() pure virtual. |
#include "WebLayerPositionConstraint.h" |
@@ -140,6 +141,9 @@ public: |
virtual void setDebugName(WebString) = 0; |
+ // Provides a bitfield that describe why this composited layer was created. |
+ virtual void setCompositingReasons(WebCompositingReasons) = 0; |
+ |
// An animation delegate is notified when animations are started and |
// stopped. The WebLayer does not take ownership of the delegate, and it is |
// the responsibility of the client to reset the layer's delegate before |