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

Issue 328553004: Get rid of scheduleSVGFilterLayerUpdateHack call for plugins. (Closed)

Created:
6 years, 6 months ago by ojan
Modified:
6 years, 6 months ago
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-html_chromium.org, blink-reviews-rendering, dglazkov+blink, eae+blinkwatch, ed+blinkwatch_opera.com, jchaffraix+rendering, leviw+renderwatch, pdr., rwlbuis, rune+blink, zoltan1
Visibility:
Public.

Description

Get rid of scheduleSVGFilterLayerUpdateHack call for plugins. We need to store a bit on the RenderStyle as to whether it needs to be accelerated due to the plugin having a layer so that when we recalc style on it, we actually get a different style and call setStyle. This is needed so styleChanged gets called and we get a NormalLayer RenderLayer. This is better than the current hack because we'd like it to be an invariant that setStyle is only called when the style actually changed. Revert "Psuedo revert "s/scheduleLayerUpdate/setNeedsCompositingUpdate in setWebLayer."" This reverts commit 2c54e3cf4c74a20c2319bc3bae26904fbb462330. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175914

Patch Set 1 #

Total comments: 3

Patch Set 2 : address review comments #

Patch Set 3 : get rid of style recalc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -5 lines) Patch
M Source/core/css/resolver/StyleAdjuster.cpp View 1 2 chunks +6 lines, -0 lines 0 comments Download
M Source/core/html/HTMLPlugInElement.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/html/HTMLPlugInElement.cpp View 1 1 chunk +7 lines, -0 lines 0 comments Download
M Source/core/rendering/style/RenderStyle.h View 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/rendering/style/StyleRareNonInheritedData.h View 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/rendering/style/StyleRareNonInheritedData.cpp View 3 chunks +4 lines, -1 line 0 comments Download
M Source/web/WebPluginContainerImpl.cpp View 1 2 2 chunks +17 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
ojan
6 years, 6 months ago (2014-06-10 01:35:15 UTC) #1
esprehn
https://codereview.chromium.org/328553004/diff/1/Source/core/css/resolver/StyleAdjuster.cpp File Source/core/css/resolver/StyleAdjuster.cpp (right): https://codereview.chromium.org/328553004/diff/1/Source/core/css/resolver/StyleAdjuster.cpp#newcode376 Source/core/css/resolver/StyleAdjuster.cpp:376: if (isHTMLPlugInElement(element)) Can you add braces and an early ...
6 years, 6 months ago (2014-06-10 02:19:10 UTC) #2
ojan
All done.
6 years, 6 months ago (2014-06-10 18:33:31 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ojan@chromium.org/328553004/20001
6 years, 6 months ago (2014-06-10 18:34:25 UTC) #4
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-10 18:34:26 UTC) #5
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 6 months ago (2014-06-10 18:34:27 UTC) #6
esprehn
lgtm, hopefully we can get rid of that setNeedsStyleRecalc someday too, but this is fine ...
6 years, 6 months ago (2014-06-10 18:35:49 UTC) #7
esprehn
The CQ bit was checked by esprehn@chromium.org
6 years, 6 months ago (2014-06-10 18:36:03 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ojan@chromium.org/328553004/20001
6 years, 6 months ago (2014-06-10 18:36:20 UTC) #9
commit-bot: I haz the power
Change committed as 175914
6 years, 6 months ago (2014-06-10 19:43:55 UTC) #10
ojan
On 2014/06/10 at 18:35:49, esprehn wrote: > lgtm, hopefully we can get rid of that ...
6 years, 6 months ago (2014-06-10 20:30:50 UTC) #11
ojan
6 years, 6 months ago (2014-06-10 20:38:39 UTC) #12
Message was sent while issue was closed.
https://codereview.chromium.org/322193002

Powered by Google App Engine
This is Rietveld 408576698