| Index: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| index de25773aeb57ec3998d1473cc65ccb7cd58d7999..7e642f9a342dc3e6c15a1fc1a8a5e0ecebcdb6f9 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| @@ -110,8 +110,7 @@ GraphicsLayer::GraphicsLayer(GraphicsLayerClient* client)
|
| m_contentsLayer(0),
|
| m_contentsLayerId(0),
|
| m_scrollableArea(nullptr),
|
| - m_renderingContext3d(0),
|
| - m_hasPreferredRasterBounds(false) {
|
| + m_renderingContext3d(0) {
|
| #if DCHECK_IS_ON()
|
| if (m_client)
|
| m_client->verifyNotPainting();
|
| @@ -150,18 +149,6 @@ void GraphicsLayer::setHasWillChangeTransformHint(bool hasWillChangeTransform) {
|
| m_layer->layer()->setHasWillChangeTransformHint(hasWillChangeTransform);
|
| }
|
|
|
| -void GraphicsLayer::setPreferredRasterBounds(const IntSize& bounds) {
|
| - m_preferredRasterBounds = bounds;
|
| - m_hasPreferredRasterBounds = true;
|
| - m_layer->layer()->setPreferredRasterBounds(bounds);
|
| -}
|
| -
|
| -void GraphicsLayer::clearPreferredRasterBounds() {
|
| - m_preferredRasterBounds = IntSize();
|
| - m_hasPreferredRasterBounds = false;
|
| - m_layer->layer()->clearPreferredRasterBounds();
|
| -}
|
| -
|
| void GraphicsLayer::setParent(GraphicsLayer* layer) {
|
| #if DCHECK_IS_ON()
|
| DCHECK(!layer || !layer->hasAncestor(this));
|
| @@ -679,11 +666,6 @@ std::unique_ptr<JSONObject> GraphicsLayer::layerAsJSONInternal(
|
| m_backfaceVisibility ? "visible" : "hidden");
|
| }
|
|
|
| - if (m_hasPreferredRasterBounds) {
|
| - json->setArray("preferredRasterBounds",
|
| - sizeAsJSONArray(m_preferredRasterBounds));
|
| - }
|
| -
|
| if (flags & LayerTreeIncludesDebugInfo)
|
| json->setString("client", pointerAsString(m_client));
|
|
|
|
|