summaryrefslogtreecommitdiffstats
path: root/cc/resources/picture_pile.h
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-10 03:37:46 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-10 03:37:46 +0000
commit8999c0a2bafcb5a0ce495a7e8fd6c15d043077d8 (patch)
tree348c4a54059d38f2663a86d99e3e56054b3ec01b /cc/resources/picture_pile.h
parente8a35d18c83f54d1575d9f2e8fd267a8e7c27025 (diff)
downloadchromium_src-8999c0a2bafcb5a0ce495a7e8fd6c15d043077d8.zip
chromium_src-8999c0a2bafcb5a0ce495a7e8fd6c15d043077d8.tar.gz
chromium_src-8999c0a2bafcb5a0ce495a7e8fd6c15d043077d8.tar.bz2
cc: Inflate invalidation in each picture list
We inflate invalidation and then intersect with each picture list. This means we lose the guaranteed minimum size of the picture, if the invalidation just crosses a picture list boundary. Instead, do the intersection with each picture list affected, then inflate within the picture list's bounds to make sure the invalidation in each picture list meets the minimum size. Tests: PicturePileTest.SmallInvalidateInflated PicturePileTest.LargeInvalidateInflated PicturePileTest.InvalidateOnTileBoundaryInflated R=enne,nduca BUG=237211 Review URL: https://chromiumcodereview.appspot.com/14874004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199359 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/resources/picture_pile.h')
-rw-r--r--cc/resources/picture_pile.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cc/resources/picture_pile.h b/cc/resources/picture_pile.h
index fb5ce29..af44cef 100644
--- a/cc/resources/picture_pile.h
+++ b/cc/resources/picture_pile.h
@@ -38,8 +38,10 @@ class CC_EXPORT PicturePile : public PicturePileBase {
show_debug_picture_borders_ = show;
}
- private:
+ protected:
virtual ~PicturePile();
+
+ private:
friend class PicturePileImpl;
// Add an invalidation to this picture list. If the list needs to be