| 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 a0dcd7ae153413af5b46187c3943b18169376036..b5b2165bebb6d49ba0eace73748a1b62add44288 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
|
| @@ -278,8 +278,9 @@ class PLATFORM_EXPORT GraphicsLayer : public WebLayerScrollClient,
|
|
|
| void setHasWillChangeTransformHint(bool);
|
|
|
| - void setPreferredRasterScale(float);
|
| - void clearPreferredRasterScale();
|
| + // See comments in cc::Layer::SetPreferredRasterBounds.
|
| + void setPreferredRasterBounds(const IntSize&);
|
| + void clearPreferredRasterBounds();
|
|
|
| protected:
|
| String debugName(cc::Layer*) const;
|
| @@ -398,8 +399,8 @@ class PLATFORM_EXPORT GraphicsLayer : public WebLayerScrollClient,
|
| std::unique_ptr<PaintController> m_paintController;
|
|
|
| IntRect m_previousInterestRect;
|
| - float m_preferredRasterScale;
|
| - bool m_hasPreferredRasterScale;
|
| + IntSize m_preferredRasterBounds;
|
| + bool m_hasPreferredRasterBounds;
|
| };
|
|
|
| } // namespace blink
|
|
|