| Index: cc/test/tiled_layer_test_common.cc
|
| diff --git a/cc/test/tiled_layer_test_common.cc b/cc/test/tiled_layer_test_common.cc
|
| index d5f30aab23b4683f1bd167f99649b216b9f36a7f..83ece52c9bb6e8dca4cbe32547082f239c928765 100644
|
| --- a/cc/test/tiled_layer_test_common.cc
|
| +++ b/cc/test/tiled_layer_test_common.cc
|
| @@ -49,15 +49,15 @@ void FakeLayerUpdater::prepareToUpdate(const gfx::Rect& contentRect, const gfx::
|
| {
|
| m_prepareCount++;
|
| m_lastUpdateRect = contentRect;
|
| - if (!m_rectToInvalidate.isEmpty()) {
|
| + if (!m_rectToInvalidate.IsEmpty()) {
|
| m_layer->invalidateContentRect(m_rectToInvalidate);
|
| - m_rectToInvalidate = IntRect();
|
| + m_rectToInvalidate = gfx::Rect();
|
| m_layer = NULL;
|
| }
|
| resultingOpaqueRect = m_opaquePaintRect;
|
| }
|
|
|
| -void FakeLayerUpdater::setRectToInvalidate(const IntRect& rect, FakeTiledLayer* layer)
|
| +void FakeLayerUpdater::setRectToInvalidate(const gfx::Rect& rect, FakeTiledLayer* layer)
|
| {
|
| m_rectToInvalidate = rect;
|
| m_layer = layer;
|
| @@ -101,7 +101,7 @@ FakeTiledLayer::~FakeTiledLayer()
|
| {
|
| }
|
|
|
| -void FakeTiledLayer::setNeedsDisplayRect(const FloatRect& rect)
|
| +void FakeTiledLayer::setNeedsDisplayRect(const gfx::RectF& rect)
|
| {
|
| m_lastNeedsDisplayRect = rect;
|
| TiledLayer::setNeedsDisplayRect(rect);
|
| @@ -134,7 +134,7 @@ cc::LayerUpdater* FakeTiledLayer::updater() const
|
| return m_fakeUpdater.get();
|
| }
|
|
|
| -cc::IntSize FakeTiledLayerWithScaledBounds::contentBounds() const
|
| +gfx::Size FakeTiledLayerWithScaledBounds::contentBounds() const
|
| {
|
| return m_forcedContentBounds;
|
| }
|
|
|