Index: cc/image_layer.cc |
diff --git a/cc/image_layer.cc b/cc/image_layer.cc |
index 7b94add6c23777ca1077547e941ef99325fb4ff5..6d290447c366a81fa63a8d3d81961a589c65a9af 100644 |
--- a/cc/image_layer.cc |
+++ b/cc/image_layer.cc |
@@ -119,7 +119,7 @@ void ImageLayer::update(TextureUpdateQueue& queue, const OcclusionTracker* occlu |
if (m_needsDisplay) { |
m_updater->setBitmap(m_bitmap); |
updateTileSizeAndTilingOption(); |
- invalidateContentRect(IntRect(IntPoint(), contentBounds())); |
+ invalidateContentRect(gfx::Rect(gfx::Point(), contentBounds())); |
m_needsDisplay = false; |
} |
TiledLayer::update(queue, occlusion, stats); |
@@ -140,9 +140,9 @@ LayerUpdater* ImageLayer::updater() const |
return m_updater.get(); |
} |
-IntSize ImageLayer::contentBounds() const |
+gfx::Size ImageLayer::contentBounds() const |
{ |
- return IntSize(m_bitmap.width(), m_bitmap.height()); |
+ return gfx::Size(m_bitmap.width(), m_bitmap.height()); |
} |
bool ImageLayer::drawsContent() const |