Bug 81529

Summary: [chromium] Invalidate/update evicted tiles during commit
Product: WebKit Reporter: Dana Jansens <danakj>
Component: New BugsAssignee: Dana Jansens <danakj>
Status: RESOLVED FIXED    
Severity: Normal CC: backer, cc-bugs, enne, jamesr, piman, reveman, shawnsingh, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 81552    
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

Description Dana Jansens 2012-03-19 11:25:30 PDT
[chromium] Invalidate/update evicted tiles during commit
Comment 1 Dana Jansens 2012-03-19 11:27:44 PDT
Created attachment 132614 [details]
Patch
Comment 2 WebKit Review Bot 2012-03-19 11:31:16 PDT
Attachment 132614 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1
Source/WebCore/ChangeLog:12:  You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible.  [changelog/nonewtests] [5]
Total errors found: 1 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Dana Jansens 2012-03-19 11:37:11 PDT
Created attachment 132617 [details]
Patch
Comment 4 Adrienne Walker 2012-03-19 13:05:15 PDT
Comment on attachment 132617 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=132617&action=review

Sorry for not catching this issue the first time through review.

> Source/WebKit/chromium/tests/TiledLayerChromiumTest.cpp:370
> +    EXPECT_TRUE(layerImpl->hasTileAt(0, 0));
> +    EXPECT_FALSE(layerImpl->hasTileAt(0, 1));

Can you also verify after a pushPropertiesTo that neither tile is there? I don't think we have any test related to that.
Comment 5 Adrienne Walker 2012-03-19 13:05:54 PDT
(In reply to comment #4)
> (From update of attachment 132617 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=132617&action=review
> 
> Sorry for not catching this issue the first time through review.
> 
> > Source/WebKit/chromium/tests/TiledLayerChromiumTest.cpp:370
> > +    EXPECT_TRUE(layerImpl->hasTileAt(0, 0));
> > +    EXPECT_FALSE(layerImpl->hasTileAt(0, 1));
> 
> Can you also verify after a pushPropertiesTo that neither tile is there? I don't think we have any test related to that.

...before doing any painting, I mean.
Comment 6 Dana Jansens 2012-03-19 13:21:10 PDT
Created attachment 132644 [details]
Patch

Thanks! Done!
Comment 7 WebKit Review Bot 2012-03-19 14:37:16 PDT
Comment on attachment 132644 [details]
Patch

Clearing flags on attachment: 132644

Committed r111253: <http://trac.webkit.org/changeset/111253>
Comment 8 WebKit Review Bot 2012-03-19 14:37:20 PDT
All reviewed patches have been landed.  Closing bug.