| Index: third_party/WebKit/Source/core/testing/Internals.cpp
|
| diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| index 84ff56bf5d880164e732f98dafa27982ba060efb..1ad9d52e4b0ab895f6ed3038fdbd1319acecf889 100644
|
| --- a/third_party/WebKit/Source/core/testing/Internals.cpp
|
| +++ b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| @@ -1317,7 +1317,7 @@ static PaintLayer* findLayerForGraphicsLayer(PaintLayer* searchRoot, GraphicsLay
|
|
|
| LayoutRect rect;
|
| PaintLayer::mapRectInPaintInvalidationContainerToBacking(*searchRoot->layoutObject(), rect);
|
| - *layerOffset = IntSize(rect.x(), rect.y());
|
| + *layerOffset = IntSize(rect.x().toInt(), rect.y().toInt());
|
| return searchRoot;
|
| }
|
|
|
| @@ -1335,7 +1335,7 @@ static PaintLayer* findLayerForGraphicsLayer(PaintLayer* searchRoot, GraphicsLay
|
| *layerType ="squashing";
|
| LayoutRect rect;
|
| PaintLayer::mapRectInPaintInvalidationContainerToBacking(*searchRoot->layoutObject(), rect);
|
| - *layerOffset = IntSize(rect.x(), rect.y());
|
| + *layerOffset = IntSize(rect.x().toInt(), rect.y().toInt());
|
| return searchRoot;
|
| }
|
| }
|
|
|