Index: third_party/WebKit/Source/platform/graphics/GraphicsLayer.h |
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h |
index b6b19c9490cb363fc4f09d3d2d0e4379c0fcd818..0fc99f56c1a313fc0e0d0fdfa003e6ee051648c6 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h |
@@ -34,6 +34,7 @@ |
#include "platform/geometry/FloatSize.h" |
#include "platform/geometry/IntRect.h" |
#include "platform/graphics/Color.h" |
+#include "platform/graphics/ColorBehavior.h" |
#include "platform/graphics/CompositorElementId.h" |
#include "platform/graphics/ContentLayerDelegate.h" |
#include "platform/graphics/GraphicsContext.h" |
@@ -286,6 +287,8 @@ class PLATFORM_EXPORT GraphicsLayer : public WebLayerScrollClient, |
void setPreferredRasterBounds(const IntSize&); |
void clearPreferredRasterBounds(); |
+ const ColorBehavior& colorBehavior() const { return m_colorBehavior; } |
+ |
protected: |
String debugName(cc::Layer*) const; |
bool shouldFlattenTransform() const { return m_shouldFlattenTransform; } |
@@ -402,6 +405,8 @@ class PLATFORM_EXPORT GraphicsLayer : public WebLayerScrollClient, |
std::unique_ptr<PaintController> m_paintController; |
+ ColorBehavior m_colorBehavior; |
+ |
IntRect m_previousInterestRect; |
IntSize m_preferredRasterBounds; |
bool m_hasPreferredRasterBounds; |