Diff
Modified: trunk/Source/WebCore/ChangeLog (134374 => 134375)
--- trunk/Source/WebCore/ChangeLog 2012-11-13 07:37:30 UTC (rev 134374)
+++ trunk/Source/WebCore/ChangeLog 2012-11-13 07:49:22 UTC (rev 134375)
@@ -1,3 +1,15 @@
+2012-11-12 Huang Dongsung <[email protected]>
+
+ [Qt] REGRESSION(134142): overscaled tiles in pixel test results and MiniBrowser
+ https://bugs.webkit.org/show_bug.cgi?id=101918
+
+ Reviewed by Noam Rosenthal.
+
+ Remove TiledBackingStore::rect(), because it is not used anymore.
+
+ * platform/graphics/TiledBackingStore.h:
+ (TiledBackingStore):
+
2012-11-12 Adam Barth <[email protected]>
[V8] We should be able to recover the V8DOMWindowShell more quickly
Modified: trunk/Source/WebCore/platform/graphics/TiledBackingStore.h (134374 => 134375)
--- trunk/Source/WebCore/platform/graphics/TiledBackingStore.h 2012-11-13 07:37:30 UTC (rev 134374)
+++ trunk/Source/WebCore/platform/graphics/TiledBackingStore.h 2012-11-13 07:49:22 UTC (rev 134375)
@@ -72,7 +72,6 @@
Tile::Coordinate tileCoordinateForPoint(const IntPoint&) const;
double tileDistance(const IntRect& viewport, const Tile::Coordinate&) const;
- IntRect rect() const { return m_rect; }
IntRect coverRect() const { return m_coverRect; }
bool visibleAreaIsCovered() const;
void removeAllNonVisibleTiles();
Modified: trunk/Source/WebKit2/ChangeLog (134374 => 134375)
--- trunk/Source/WebKit2/ChangeLog 2012-11-13 07:37:30 UTC (rev 134374)
+++ trunk/Source/WebKit2/ChangeLog 2012-11-13 07:49:22 UTC (rev 134375)
@@ -1,3 +1,53 @@
+2012-11-12 Huang Dongsung <[email protected]>
+
+ [Qt] REGRESSION(134142): overscaled tiles in pixel test results and MiniBrowser
+ https://bugs.webkit.org/show_bug.cgi?id=101918
+
+ Reviewed by Noam Rosenthal.
+
+ Currently, CoordinatedBackingStore can keep out-dated contents size, because the
+ size of CoordinatedBackingStore is set by only LayerTreeRenderer::createTile().
+ Although the size of GraphicsLayer is changed, LayerTreeRenderer::createTile()
+ is not called. However, LayerTreeRenderer::createTile() is always called, when
+ the contents scale of GraphicsLayer is changed.
+
+ This patch makes sure that we reset the backing store's size to the
+ layer size when UpdateTile or RemoveTile are called.
+
+ * UIProcess/CoordinatedGraphics/CoordinatedBackingStore.cpp:
+ (WebKit::CoordinatedBackingStore::setSize):
+ (WebKit::CoordinatedBackingStore::paintToTextureMapper):
+ * UIProcess/CoordinatedGraphics/CoordinatedBackingStore.h:
+ (CoordinatedBackingStore):
+ * UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.cpp:
+ (WebKit::LayerTreeCoordinatorProxy::createTileForLayer):
+ * UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.h:
+ (LayerTreeCoordinatorProxy):
+ * UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.messages.in:
+ * UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
+ (WebKit::LayerTreeRenderer::getBackingStore):
+ (WebKit::LayerTreeRenderer::removeBackingStoreIfNeeded):
+ (WebKit::LayerTreeRenderer::resetBackingStoreSizeToLayerSize):
+ (WebKit):
+ (WebKit::LayerTreeRenderer::createTile):
+ (WebKit::LayerTreeRenderer::removeTile):
+ (WebKit::LayerTreeRenderer::updateTile):
+ * UIProcess/CoordinatedGraphics/LayerTreeRenderer.h:
+ (LayerTreeRenderer):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
+ (WebCore::CoordinatedGraphicsLayer::createTile):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.h:
+ (CoordinatedGraphicsLayerClient):
+ (CoordinatedGraphicsLayer):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedTile.cpp:
+ (WebKit::CoordinatedTile::updateBackBuffer):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedTile.h:
+ (CoordinatedTileClient):
+ * WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:
+ (WebKit::LayerTreeCoordinator::createTile):
+ * WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.h:
+ (LayerTreeCoordinator):
+
2012-11-12 Sam Weinig <[email protected]>
<rdar://problem/12445176>
Modified: trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/CoordinatedBackingStore.cpp (134374 => 134375)
--- trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/CoordinatedBackingStore.cpp 2012-11-13 07:37:30 UTC (rev 134374)
+++ trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/CoordinatedBackingStore.cpp 2012-11-13 07:49:22 UTC (rev 134375)
@@ -101,7 +101,7 @@
return PassRefPtr<BitmapTexture>();
}
-void CoordinatedBackingStore::setSize(const WebCore::IntSize& size)
+void CoordinatedBackingStore::setSize(const WebCore::FloatSize& size)
{
m_size = size;
}
@@ -114,15 +114,6 @@
return false;
}
-// This function is copied from TiledBackingStore::mapToContents().
-static IntRect mapToContents(const IntRect& rect, float scale)
-{
- return enclosingIntRect(FloatRect(rect.x() / scale,
- rect.y() / scale,
- rect.width() / scale,
- rect.height() / scale));
-}
-
void CoordinatedBackingStore::paintTilesToTextureMapper(Vector<TextureMapperTile*>& tiles, TextureMapper* textureMapper, const TransformationMatrix& transform, float opacity, BitmapTexture* mask, const FloatRect& rect)
{
for (size_t i = 0; i < tiles.size(); ++i) {
@@ -165,7 +156,7 @@
}
ASSERT(!m_size.isZero());
- FloatRect rectOnContents = mapToContents(IntRect(IntPoint::zero(), m_size), m_scale);
+ FloatRect rectOnContents(FloatPoint::zero(), m_size);
TransformationMatrix adjustedTransform = transform;
// targetRect is on the contents coordinate system, so we must compare two rects on the contents coordinate system.
// See TiledBackingStore.
Modified: trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/CoordinatedBackingStore.h (134374 => 134375)
--- trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/CoordinatedBackingStore.h 2012-11-13 07:37:30 UTC (rev 134374)
+++ trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/CoordinatedBackingStore.h 2012-11-13 07:49:22 UTC (rev 134375)
@@ -64,7 +64,7 @@
static PassRefPtr<CoordinatedBackingStore> create() { return adoptRef(new CoordinatedBackingStore); }
void commitTileOperations(WebCore::TextureMapper*);
PassRefPtr<WebCore::BitmapTexture> texture() const;
- void setSize(const WebCore::IntSize&);
+ void setSize(const WebCore::FloatSize&);
virtual void paintToTextureMapper(WebCore::TextureMapper*, const WebCore::FloatRect&, const WebCore::TransformationMatrix&, float, WebCore::BitmapTexture*);
private:
@@ -75,7 +75,7 @@
HashMap<int, CoordinatedBackingStoreTile> m_tiles;
HashSet<int> m_tilesToRemove;
- WebCore::IntSize m_size;
+ WebCore::FloatSize m_size;
float m_scale;
};
Modified: trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.cpp (134374 => 134375)
--- trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.cpp 2012-11-13 07:37:30 UTC (rev 134374)
+++ trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.cpp 2012-11-13 07:49:22 UTC (rev 134375)
@@ -56,9 +56,9 @@
m_renderer->appendUpdate(function);
}
-void LayerTreeCoordinatorProxy::createTileForLayer(int layerID, int tileID, const WebCore::IntRect& tileRect, const WebCore::IntSize& backingSize, const WebKit::SurfaceUpdateInfo& updateInfo)
+void LayerTreeCoordinatorProxy::createTileForLayer(int layerID, int tileID, const WebCore::IntRect& tileRect, const WebKit::SurfaceUpdateInfo& updateInfo)
{
- dispatchUpdate(bind(&LayerTreeRenderer::createTile, m_renderer.get(), layerID, tileID, updateInfo.scaleFactor, backingSize));
+ dispatchUpdate(bind(&LayerTreeRenderer::createTile, m_renderer.get(), layerID, tileID, updateInfo.scaleFactor));
updateTileForLayer(layerID, tileID, tileRect, updateInfo);
}
Modified: trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.h (134374 => 134375)
--- trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.h 2012-11-13 07:37:30 UTC (rev 134374)
+++ trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.h 2012-11-13 07:49:22 UTC (rev 134375)
@@ -62,7 +62,7 @@
void setContentsSize(const WebCore::FloatSize&);
void setVisibleContentsRect(const WebCore::FloatRect&, float scale, const WebCore::FloatPoint& trajectoryVector);
void didRenderFrame(const WebCore::IntSize& contentsSize, const WebCore::IntRect& coveredRect);
- void createTileForLayer(int layerID, int tileID, const WebCore::IntRect& tileRect, const WebCore::IntSize& backingSize, const SurfaceUpdateInfo&);
+ void createTileForLayer(int layerID, int tileID, const WebCore::IntRect&, const SurfaceUpdateInfo&);
void updateTileForLayer(int layerID, int tileID, const WebCore::IntRect&, const SurfaceUpdateInfo&);
void removeTileForLayer(int layerID, int tileID);
void createUpdateAtlas(int atlasID, const ShareableSurface::Handle&);
Modified: trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.messages.in (134374 => 134375)
--- trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.messages.in 2012-11-13 07:37:30 UTC (rev 134374)
+++ trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.messages.in 2012-11-13 07:49:22 UTC (rev 134375)
@@ -26,7 +26,7 @@
#endif
SetRootCompositingLayer(uint32_t id)
DeleteCompositingLayer(uint32_t id)
- CreateTileForLayer(uint32_t layerID, int tileID, WebCore::IntRect tileRect, WebCore::IntSize backingSize, WebKit::SurfaceUpdateInfo updateInfo)
+ CreateTileForLayer(uint32_t layerID, int tileID, WebCore::IntRect tileRect, WebKit::SurfaceUpdateInfo updateInfo)
UpdateTileForLayer(uint32_t layerID, int tileID, WebCore::IntRect tileRect, WebKit::SurfaceUpdateInfo updateInfo)
RemoveTileForLayer(uint32_t layerID, int tileID)
CreateUpdateAtlas(int atlasID, WebKit::ShareableSurface::Handle handle)
Modified: trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp (134374 => 134375)
--- trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp 2012-11-13 07:37:30 UTC (rev 134374)
+++ trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp 2012-11-13 07:49:22 UTC (rev 134375)
@@ -355,9 +355,9 @@
m_rootLayer->addChild(layer);
}
-PassRefPtr<CoordinatedBackingStore> LayerTreeRenderer::getBackingStore(WebLayerID id)
+PassRefPtr<CoordinatedBackingStore> LayerTreeRenderer::getBackingStore(GraphicsLayer* graphicsLayer)
{
- TextureMapperLayer* layer = toTextureMapperLayer(layerByID(id));
+ TextureMapperLayer* layer = toTextureMapperLayer(graphicsLayer);
ASSERT(layer);
RefPtr<CoordinatedBackingStore> backingStore = static_cast<CoordinatedBackingStore*>(layer->backingStore().get());
if (!backingStore) {
@@ -368,9 +368,9 @@
return backingStore;
}
-void LayerTreeRenderer::removeBackingStoreIfNeeded(WebLayerID layerID, int /*tileID*/)
+void LayerTreeRenderer::removeBackingStoreIfNeeded(GraphicsLayer* graphicsLayer)
{
- TextureMapperLayer* layer = toTextureMapperLayer(layerByID(layerID));
+ TextureMapperLayer* layer = toTextureMapperLayer(graphicsLayer);
ASSERT(layer);
RefPtr<CoordinatedBackingStore> backingStore = static_cast<CoordinatedBackingStore*>(layer->backingStore().get());
ASSERT(backingStore);
@@ -378,23 +378,41 @@
layer->setBackingStore(0);
}
-void LayerTreeRenderer::createTile(WebLayerID layerID, int tileID, float scale, const WebCore::IntSize& backingSize)
+void LayerTreeRenderer::resetBackingStoreSizeToLayerSize(GraphicsLayer* graphicsLayer)
{
- RefPtr<CoordinatedBackingStore> backingStore = getBackingStore(layerID);
+ TextureMapperLayer* layer = toTextureMapperLayer(graphicsLayer);
+ ASSERT(layer);
+ RefPtr<CoordinatedBackingStore> backingStore = static_cast<CoordinatedBackingStore*>(layer->backingStore().get());
+ ASSERT(backingStore);
+ backingStore->setSize(graphicsLayer->size());
+}
+
+void LayerTreeRenderer::createTile(WebLayerID layerID, int tileID, float scale)
+{
+ GraphicsLayer* layer = layerByID(layerID);
+ ASSERT(layer);
+ RefPtr<CoordinatedBackingStore> backingStore = getBackingStore(layer);
backingStore->createTile(tileID, scale);
- backingStore->setSize(backingSize);
+ resetBackingStoreSizeToLayerSize(layer);
}
void LayerTreeRenderer::removeTile(WebLayerID layerID, int tileID)
{
- getBackingStore(layerID)->removeTile(tileID);
- removeBackingStoreIfNeeded(layerID, tileID);
+ GraphicsLayer* layer = layerByID(layerID);
+ ASSERT(layer);
+ RefPtr<CoordinatedBackingStore> backingStore = getBackingStore(layer);
+ backingStore->removeTile(tileID);
+ resetBackingStoreSizeToLayerSize(layer);
+ removeBackingStoreIfNeeded(layer);
}
void LayerTreeRenderer::updateTile(WebLayerID layerID, int tileID, const TileUpdate& update)
{
- RefPtr<CoordinatedBackingStore> backingStore = getBackingStore(layerID);
+ GraphicsLayer* layer = layerByID(layerID);
+ ASSERT(layer);
+ RefPtr<CoordinatedBackingStore> backingStore = getBackingStore(layer);
backingStore->updateTile(tileID, update.sourceRect, update.tileRect, update.surface, update.offset);
+ resetBackingStoreSizeToLayerSize(layer);
m_backingStoresWithPendingBuffers.add(backingStore);
}
Modified: trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.h (134374 => 134375)
--- trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.h 2012-11-13 07:37:30 UTC (rev 134374)
+++ trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.h 2012-11-13 07:49:22 UTC (rev 134375)
@@ -85,7 +85,7 @@
void setLayerFilters(WebLayerID, const WebCore::FilterOperations&);
#endif
- void createTile(WebLayerID, int, float scale, const WebCore::IntSize&);
+ void createTile(WebLayerID, int, float scale);
void removeTile(WebLayerID, int);
void updateTile(WebLayerID, int, const TileUpdate&);
void flushLayerChanges();
@@ -126,8 +126,9 @@
void renderNextFrame();
void purgeBackingStores();
- PassRefPtr<CoordinatedBackingStore> getBackingStore(WebLayerID);
- void removeBackingStoreIfNeeded(WebLayerID, int tileID);
+ PassRefPtr<CoordinatedBackingStore> getBackingStore(WebCore::GraphicsLayer*);
+ void removeBackingStoreIfNeeded(WebCore::GraphicsLayer*);
+ void resetBackingStoreSizeToLayerSize(WebCore::GraphicsLayer*);
typedef HashMap<WebLayerID, WebCore::GraphicsLayer*> LayerMap;
WebCore::FloatSize m_contentsSize;
Modified: trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp (134374 => 134375)
--- trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp 2012-11-13 07:37:30 UTC (rev 134374)
+++ trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp 2012-11-13 07:49:22 UTC (rev 134375)
@@ -655,9 +655,9 @@
return m_CoordinatedGraphicsLayerClient->beginContentUpdate(size, contentsOpaque() ? 0 : ShareableBitmap::SupportsAlpha, atlas, offset);
}
-void CoordinatedGraphicsLayer::createTile(int tileID, const SurfaceUpdateInfo& updateInfo, const WebCore::IntRect& tileRect, const WebCore::IntSize& backingSize)
+void CoordinatedGraphicsLayer::createTile(int tileID, const SurfaceUpdateInfo& updateInfo, const WebCore::IntRect& tileRect)
{
- m_CoordinatedGraphicsLayerClient->createTile(id(), tileID, updateInfo, tileRect, backingSize);
+ m_CoordinatedGraphicsLayerClient->createTile(id(), tileID, updateInfo, tileRect);
}
void CoordinatedGraphicsLayer::updateTile(int tileID, const SurfaceUpdateInfo& updateInfo, const IntRect& tileRect)
Modified: trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.h (134374 => 134375)
--- trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.h 2012-11-13 07:37:30 UTC (rev 134374)
+++ trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.h 2012-11-13 07:49:22 UTC (rev 134375)
@@ -50,7 +50,7 @@
class CoordinatedGraphicsLayerClient {
public:
// CoordinatedTileClient
- virtual void createTile(WebLayerID, int tileID, const SurfaceUpdateInfo&, const WebCore::IntRect& tileRect, const WebCore::IntSize& backingSize) = 0;
+ virtual void createTile(WebLayerID, int tileID, const SurfaceUpdateInfo&, const WebCore::IntRect&) = 0;
virtual void updateTile(WebLayerID, int tileID, const SurfaceUpdateInfo&, const WebCore::IntRect&) = 0;
virtual void removeTile(WebLayerID, int tileID) = 0;
@@ -146,7 +146,7 @@
virtual Color tiledBackingStoreBackgroundColor() const OVERRIDE;
// CoordinatedTileClient
- virtual void createTile(int tileID, const WebKit::SurfaceUpdateInfo&, const WebCore::IntRect& tileRect, const WebCore::IntSize& backingSize) OVERRIDE;
+ virtual void createTile(int tileID, const WebKit::SurfaceUpdateInfo&, const IntRect&) OVERRIDE;
virtual void updateTile(int tileID, const WebKit::SurfaceUpdateInfo&, const IntRect&) OVERRIDE;
virtual void removeTile(int tileID) OVERRIDE;
virtual PassOwnPtr<GraphicsContext> beginContentUpdate(const IntSize&, int& atlasID, IntPoint&) OVERRIDE;
Modified: trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedTile.cpp (134374 => 134375)
--- trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedTile.cpp 2012-11-13 07:37:30 UTC (rev 134374)
+++ trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedTile.cpp 2012-11-13 07:49:22 UTC (rev 134375)
@@ -88,7 +88,7 @@
static int id = 0;
if (!m_ID) {
m_ID = ++id;
- m_client->createTile(m_ID, updateInfo, m_rect, m_tiledBackingStore->rect().size());
+ m_client->createTile(m_ID, updateInfo, m_rect);
} else
m_client->updateTile(m_ID, updateInfo, m_rect);
Modified: trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedTile.h (134374 => 134375)
--- trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedTile.h 2012-11-13 07:37:30 UTC (rev 134374)
+++ trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedTile.h 2012-11-13 07:49:22 UTC (rev 134375)
@@ -75,7 +75,7 @@
class CoordinatedTileClient {
public:
virtual ~CoordinatedTileClient() { }
- virtual void createTile(int tileID, const SurfaceUpdateInfo&, const WebCore::IntRect& tileRect, const WebCore::IntSize& backingSize) = 0;
+ virtual void createTile(int tileID, const SurfaceUpdateInfo&, const WebCore::IntRect&) = 0;
virtual void updateTile(int tileID, const SurfaceUpdateInfo&, const WebCore::IntRect&) = 0;
virtual void removeTile(int tileID) = 0;
virtual PassOwnPtr<WebCore::GraphicsContext> beginContentUpdate(const WebCore::IntSize&, int& atlasID, WebCore::IntPoint&) = 0;
Modified: trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp (134374 => 134375)
--- trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp 2012-11-13 07:37:30 UTC (rev 134374)
+++ trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp 2012-11-13 07:49:22 UTC (rev 134375)
@@ -594,10 +594,10 @@
return true;
}
-void LayerTreeCoordinator::createTile(WebLayerID layerID, int tileID, const SurfaceUpdateInfo& updateInfo, const WebCore::IntRect& tileRect, const WebCore::IntSize& backingSize)
+void LayerTreeCoordinator::createTile(WebLayerID layerID, int tileID, const SurfaceUpdateInfo& updateInfo, const WebCore::IntRect& tileRect)
{
m_shouldSyncFrame = true;
- m_webPage->send(Messages::LayerTreeCoordinatorProxy::CreateTileForLayer(layerID, tileID, tileRect, backingSize, updateInfo));
+ m_webPage->send(Messages::LayerTreeCoordinatorProxy::CreateTileForLayer(layerID, tileID, tileRect, updateInfo));
}
void LayerTreeCoordinator::updateTile(WebLayerID layerID, int tileID, const SurfaceUpdateInfo& updateInfo, const WebCore::IntRect& tileRect)
Modified: trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.h (134374 => 134375)
--- trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.h 2012-11-13 07:37:30 UTC (rev 134374)
+++ trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.h 2012-11-13 07:49:22 UTC (rev 134375)
@@ -70,7 +70,7 @@
virtual int64_t adoptImageBackingStore(WebCore::Image*);
virtual void releaseImageBackingStore(int64_t);
- virtual void createTile(WebLayerID, int tileID, const SurfaceUpdateInfo&, const WebCore::IntRect& tileRect, const WebCore::IntSize& backingSize);
+ virtual void createTile(WebLayerID, int tileID, const SurfaceUpdateInfo&, const WebCore::IntRect&);
virtual void updateTile(WebLayerID, int tileID, const SurfaceUpdateInfo&, const WebCore::IntRect&);
virtual void removeTile(WebLayerID, int tileID);
virtual WebCore::IntRect visibleContentsRect() const;