diff options
author | wangxianzhu@chromium.org <wangxianzhu@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2014-08-02 03:23:02 +0000 |
---|---|---|
committer | wangxianzhu@chromium.org <wangxianzhu@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2014-08-02 03:23:02 +0000 |
commit | ee753eab60c595d863c1d28068397b6e3d0ea366 (patch) | |
tree | 06f3783a525731f23e485122571475221a39184c /third_party/WebKit/LayoutTests/platform/android/compositing/squashing | |
parent | 24b2cd1af2ee79b119382b1ec55fbaca518275ba (diff) | |
download | chromium_src-ee753eab60c595d863c1d28068397b6e3d0ea366.zip chromium_src-ee753eab60c595d863c1d28068397b6e3d0ea366.tar.gz chromium_src-ee753eab60c595d863c1d28068397b6e3d0ea366.tar.bz2 |
Clear scrollbar damages in time
When scrollbar is invalidated during layout, the damaged area is cached
so that the next invalidateTreeIfNeeded will pick up them and do real
invalidation.
However, when we do full view repaint we skip invalidation of scrollbar
damages, but leave the damage status not cleared.
Override RenderObject::clearPaintInvalidationState() and
RenderObject::paintInvalidationStateIsDirty() to handle clearing of
scrollbar damage status.
BUG=394833
TEST=fast/repaint/vertical-overflow-parent.html
TEST=fast/repaint/scrollbar-damage-and-full-viewport-repaint.html
R=jchaffraix@chromium.org
Review URL: https://codereview.chromium.org/403593005
git-svn-id: svn://svn.chromium.org/blink/trunk@179433 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/platform/android/compositing/squashing')
-rw-r--r-- | third_party/WebKit/LayoutTests/platform/android/compositing/squashing/invalidations-with-large-negative-margin-expected.txt | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/third_party/WebKit/LayoutTests/platform/android/compositing/squashing/invalidations-with-large-negative-margin-expected.txt b/third_party/WebKit/LayoutTests/platform/android/compositing/squashing/invalidations-with-large-negative-margin-expected.txt deleted file mode 100644 index 0766bad..0000000 --- a/third_party/WebKit/LayoutTests/platform/android/compositing/squashing/invalidations-with-large-negative-margin-expected.txt +++ /dev/null @@ -1,17 +0,0 @@ -(GraphicsLayer - (bounds 800.00 600.00) - (children 1 - (GraphicsLayer - (bounds 800.00 600.00) - (contentsOpaque 1) - (drawsContent 1) - (repaint rects - (rect 593.00 8.00 15.00 15.00) - (rect 408.00 8.00 50.00 50.00) - (rect 8.00 193.00 15.00 15.00) - (rect 8.00 8.00 50.00 50.00) - ) - ) - ) -) - |