Changeset 78783 in webkit
- Timestamp:
- Feb 16, 2011 8:27:04 PM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r78737 r78783 1 2011-02-16 Yael Aharon <yael.aharon@nokia.com> 2 3 Reviewed by Andreas Kling. 4 5 [Qt] Tiles are not created for webkit2 after r77286. 6 https://bugs.webkit.org/show_bug.cgi?id=54577 7 8 When using the default tile size of 1024x1024, only one tile is created. 9 Make sure to create this tile by undoing what seems to be a typo in r77286. 10 11 * UIProcess/TiledDrawingAreaProxy.cpp: 12 (WebKit::TiledDrawingAreaProxy::paint): 13 (WebKit::TiledDrawingAreaProxy::createTiles): 14 1 15 == Rolled over to ChangeLog-2011-02-16 == -
trunk/Source/WebKit2/UIProcess/TiledDrawingAreaProxy.cpp
r78426 r78783 342 342 TiledDrawingAreaTile::Coordinate bottomRight = tileCoordinateForPoint(IntPoint(dirtyRect.maxX(), dirtyRect.maxY())); 343 343 344 for (unsigned yCoordinate = topLeft.y(); yCoordinate < bottomRight.y(); ++yCoordinate) {345 for (unsigned xCoordinate = topLeft.x(); xCoordinate < bottomRight.x(); ++xCoordinate) {344 for (unsigned yCoordinate = topLeft.y(); yCoordinate <= bottomRight.y(); ++yCoordinate) { 345 for (unsigned xCoordinate = topLeft.x(); xCoordinate <= bottomRight.x(); ++xCoordinate) { 346 346 TiledDrawingAreaTile::Coordinate currentCoordinate(xCoordinate, yCoordinate); 347 347 RefPtr<TiledDrawingAreaTile> currentTile = tileAt(currentCoordinate); … … 439 439 TiledDrawingAreaTile::Coordinate topLeft = tileCoordinateForPoint(visibleRect.location()); 440 440 TiledDrawingAreaTile::Coordinate bottomRight = tileCoordinateForPoint(IntPoint(visibleRect.maxX(), visibleRect.maxY())); 441 for (unsigned yCoordinate = topLeft.y(); yCoordinate < bottomRight.y(); ++yCoordinate) {442 for (unsigned xCoordinate = topLeft.x(); xCoordinate < bottomRight.x(); ++xCoordinate) {441 for (unsigned yCoordinate = topLeft.y(); yCoordinate <= bottomRight.y(); ++yCoordinate) { 442 for (unsigned xCoordinate = topLeft.x(); xCoordinate <= bottomRight.x(); ++xCoordinate) { 443 443 TiledDrawingAreaTile::Coordinate currentCoordinate(xCoordinate, yCoordinate); 444 444 // Distance is 0 for all currently visible tiles.
Note: See TracChangeset
for help on using the changeset viewer.