| 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 dbd05d3fb7ee6d27c9619df102e65efd97ae131f..a0dcd7ae153413af5b46187c3943b18169376036 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
|
| @@ -278,6 +278,9 @@ class PLATFORM_EXPORT GraphicsLayer : public WebLayerScrollClient,
|
|
|
| void setHasWillChangeTransformHint(bool);
|
|
|
| + void setPreferredRasterScale(float);
|
| + void clearPreferredRasterScale();
|
| +
|
| protected:
|
| String debugName(cc::Layer*) const;
|
| bool shouldFlattenTransform() const { return m_shouldFlattenTransform; }
|
| @@ -395,6 +398,8 @@ class PLATFORM_EXPORT GraphicsLayer : public WebLayerScrollClient,
|
| std::unique_ptr<PaintController> m_paintController;
|
|
|
| IntRect m_previousInterestRect;
|
| + float m_preferredRasterScale;
|
| + bool m_hasPreferredRasterScale;
|
| };
|
|
|
| } // namespace blink
|
|
|