Changeset 78785 in webkit


Ignore:
Timestamp:
Feb 16, 2011 8:28:57 PM (13 years ago)
Author:
yael.aharon@nokia.com
Message:

2011-02-16 Yael Aharon <yael.aharon@nokia.com>

Reviewed by Andreas Kling.

[Qt] White screen is displayed when tiled backing store is enabled in MiniBrowser.
https://bugs.webkit.org/show_bug.cgi?id=54583

Make sure to invalidate all the tiles, including the last one.

  • UIProcess/TiledDrawingAreaProxy.cpp: (WebKit::TiledDrawingAreaProxy::invalidate):
Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r78783 r78785  
     12011-02-16  Yael Aharon  <yael.aharon@nokia.com>
     2
     3        Reviewed by Andreas Kling.
     4
     5        [Qt] White screen is displayed when tiled backing store is enabled in MiniBrowser.
     6        https://bugs.webkit.org/show_bug.cgi?id=54583
     7
     8        Make sure to invalidate all the tiles, including the last one.
     9
     10        * UIProcess/TiledDrawingAreaProxy.cpp:
     11        (WebKit::TiledDrawingAreaProxy::invalidate):
     12
    1132011-02-16  Yael Aharon  <yael.aharon@nokia.com>
    214
  • trunk/Source/WebKit2/UIProcess/TiledDrawingAreaProxy.cpp

    r78783 r78785  
    248248    Vector<TiledDrawingAreaTile::Coordinate> tilesToRemove;
    249249
    250     for (unsigned yCoordinate = topLeft.y(); yCoordinate < bottomRight.y(); ++yCoordinate) {
    251         for (unsigned xCoordinate = topLeft.x(); xCoordinate < bottomRight.x(); ++xCoordinate) {
     250    for (unsigned yCoordinate = topLeft.y(); yCoordinate <= bottomRight.y(); ++yCoordinate) {
     251        for (unsigned xCoordinate = topLeft.x(); xCoordinate <= bottomRight.x(); ++xCoordinate) {
    252252            RefPtr<TiledDrawingAreaTile> currentTile = tileAt(TiledDrawingAreaTile::Coordinate(xCoordinate, yCoordinate));
    253253            if (!currentTile)
Note: See TracChangeset for help on using the changeset viewer.