Index: third_party/WebKit/Source/core/frame/FrameView.cpp |
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp |
index dd65fe3998e1f0588f41f1628eec4cdcbbd8e2e7..30daa7e6310365177889e3ef7d374ad0e3904064 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
@@ -3550,7 +3550,7 @@ static void positionScrollbarLayer(GraphicsLayer* graphicsLayer, Scrollbar* scro |
if (scrollbarRect.size() == graphicsLayer->size()) |
return; |
- graphicsLayer->setSize(scrollbarRect.size()); |
+ graphicsLayer->setSize(FloatSize(scrollbarRect.size())); |
if (graphicsLayer->hasContentsLayer()) { |
graphicsLayer->setContentsRect(IntRect(0, 0, scrollbarRect.width(), scrollbarRect.height())); |
@@ -3569,7 +3569,7 @@ static void positionScrollCornerLayer(GraphicsLayer* graphicsLayer, const IntRec |
graphicsLayer->setPosition(cornerRect.location()); |
if (cornerRect.size() != graphicsLayer->size()) |
graphicsLayer->setNeedsDisplay(); |
- graphicsLayer->setSize(cornerRect.size()); |
+ graphicsLayer->setSize(FloatSize(cornerRect.size())); |
} |
void FrameView::positionScrollbarLayers() |