https://codereview.chromium.org/2581243003/diff/1/third_party/WebKit/Source/c...
File third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp
(right):
https://codereview.chromium.org/2581243003/diff/1/third_party/WebKit/Source/c...
third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp:181: //
Invalidate paint properties to update effects if any.
On 2016/12/16 21:13:37, pdr. wrote:
> This invalidation is very different from the one below. Are both required for
> the test to pass?
>
Added a test for this. However the test doesn't fail in
SlimmingPaintInvalidation mode without this patch because of a bug of
PaintPropertyTreeBuilder that it fails to create an effect node for an SVG
element referencing a filter resource (so FindPaintPropertiesToUpdate doesn't
find the under-invalidation). This doesn't block SlimmingPaintInvalidation
because we can still paint the filter correctly. Will file a bug for this.
> I think both this change and the ones in PaintLayerResourceInfo make sense,
just
> want to make sure a new test passes.
Xianzhu
https://codereview.chromium.org/2581243003/diff/1/third_party/WebKit/Source/core/paint/PaintLayerResourceInfo.cpp File third_party/WebKit/Source/core/paint/PaintLayerResourceInfo.cpp (right): https://codereview.chromium.org/2581243003/diff/1/third_party/WebKit/Source/core/paint/PaintLayerResourceInfo.cpp#newcode54 third_party/WebKit/Source/core/paint/PaintLayerResourceInfo.cpp:54: layoutObject->setNeedsPaintPropertyUpdate(); On 2016/12/16 21:13:37, pdr. wrote: > Can you ...
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/88021)
Issue 2581243003: [SPInvalidation] Update paint properties when SVG resource change
(Closed)
Created 4 years ago by Xianzhu
Modified 4 years ago
Reviewers: pdr.
Base URL:
Comments: 4