Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(318)

Issue 1214673005: Check for empty WebFilterOperations in FilterPainter (Closed)

Created:
5 years, 6 months ago by ajuma
Modified:
5 years, 5 months ago
Reviewers:
pdr., Stephen White
CC:
blink-reviews, shans, rjwright, blink-reviews-animation_chromium.org, darktears, slimming-paint-reviews_chromium.org, dglazkov+blink, blink-reviews-paint_chromium.org, dshwang, Eric Willigers
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Check for empty WebFilterOperations in FilterPainter This works around a situation where FilterPainter thinks we should have non-empty WebFilterOperations even though we really don't, since the DeprecatedPaintLayer's FilterEffectBuilder doesn't realize that the filter it refers to has changed. This depends on Chromium CL http://crrev.com/1218543002. BUG=502026 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197942

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Address comments and add waitUntilDone to test #

Patch Set 4 : isEmpty instead of size #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -0 lines) Patch
A LayoutTests/css3/filters/filter-effect-removed.html View 1 2 1 chunk +36 lines, -0 lines 0 comments Download
A LayoutTests/css3/filters/filter-effect-removed-expected.html View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M Source/core/animation/AnimationTranslationUtilTest.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/paint/FilterPainter.cpp View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M public/platform/WebFilterOperations.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
ajuma
5 years, 6 months ago (2015-06-26 17:41:47 UTC) #2
Stephen White
LGTM w/nits https://codereview.chromium.org/1214673005/diff/20001/LayoutTests/css3/filters/filter-effect-removed.html File LayoutTests/css3/filters/filter-effect-removed.html (right): https://codereview.chromium.org/1214673005/diff/20001/LayoutTests/css3/filters/filter-effect-removed.html#newcode2 LayoutTests/css3/filters/filter-effect-removed.html:2: <svg width="0" xmlns="http://www.w3.org/2000/svg" width="0" height="0" version="1.1"> Nit: ...
5 years, 6 months ago (2015-06-26 17:57:38 UTC) #3
ajuma
+pdr for public/ https://codereview.chromium.org/1214673005/diff/20001/LayoutTests/css3/filters/filter-effect-removed.html File LayoutTests/css3/filters/filter-effect-removed.html (right): https://codereview.chromium.org/1214673005/diff/20001/LayoutTests/css3/filters/filter-effect-removed.html#newcode2 LayoutTests/css3/filters/filter-effect-removed.html:2: <svg width="0" xmlns="http://www.w3.org/2000/svg" width="0" height="0" version="1.1"> ...
5 years, 6 months ago (2015-06-26 19:09:26 UTC) #5
pdr.
If the filter doesn't display anything, shouldn't BeginFilterDisplayItem::drawsContent return false so the filter begin/end pair ...
5 years, 6 months ago (2015-06-26 19:19:22 UTC) #6
pdr.
On 2015/06/26 at 19:19:22, pdr wrote: > If the filter doesn't display anything, shouldn't BeginFilterDisplayItem::drawsContent ...
5 years, 6 months ago (2015-06-26 19:21:02 UTC) #7
ajuma
On 2015/06/26 19:19:22, pdr wrote: > If the filter doesn't display anything, shouldn't > BeginFilterDisplayItem::drawsContent ...
5 years, 6 months ago (2015-06-26 19:22:43 UTC) #8
ajuma
On 2015/06/26 19:21:02, pdr wrote: > On 2015/06/26 at 19:19:22, pdr wrote: > > If ...
5 years, 6 months ago (2015-06-26 19:27:15 UTC) #9
pdr.
On 2015/06/26 at 19:22:43, ajuma wrote: > On 2015/06/26 19:19:22, pdr wrote: > > If ...
5 years, 6 months ago (2015-06-26 19:50:12 UTC) #10
ajuma
I've replaced WebFilterOperations::size with ::isEmpty, to address a review comment on the Chromium-side patch.
5 years, 6 months ago (2015-06-26 20:34:13 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1214673005/60001
5 years, 5 months ago (2015-06-26 21:47:58 UTC) #14
commit-bot: I haz the power
5 years, 5 months ago (2015-06-27 00:48:14 UTC) #15
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197942

Powered by Google App Engine
This is Rietveld 408576698