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

Issue 143983007: Remove PostAttachCallbacks and replace with something more specialized (Closed)

Created:
6 years, 11 months ago by esprehn
Modified:
6 years, 9 months ago
CC:
adamk+blink_chromium.org, blink-reviews, Inactive, dglazkov+blink, eae+blinkwatch, sof
Visibility:
Public.

Description

Remove PostAttachCallbacks and replace with something more specialized The last consumer of PostAttachCallbacks is layer updating, this patch switches away from the generic "call me after recalc style" system that was PostAttachCallbacks to a very specialized system that only marks elements as needing a style recalc for the purposes of creating and destroying layers. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169891

Patch Set 1 #

Patch Set 2 : remove check in updateStyleIfNeeded #

Patch Set 3 : fix build #

Patch Set 4 : Update #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -171 lines) Patch
M Source/core/core.gypi View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/dom/Document.h View 1 2 3 3 chunks +8 lines, -0 lines 1 comment Download
M Source/core/dom/Document.cpp View 1 2 3 6 chunks +41 lines, -4 lines 1 comment Download
M Source/core/dom/Element.cpp View 1 2 3 4 chunks +4 lines, -13 lines 0 comments Download
M Source/core/dom/Node.h View 1 2 3 4 chunks +5 lines, -10 lines 0 comments Download
M Source/core/dom/Node.cpp View 1 2 3 3 chunks +4 lines, -5 lines 0 comments Download
D Source/core/dom/PostAttachCallbacks.h View 1 chunk +0 lines, -52 lines 0 comments Download
D Source/core/dom/PostAttachCallbacks.cpp View 1 chunk +0 lines, -75 lines 0 comments Download
M Source/core/html/HTMLFormControlElement.cpp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/html/HTMLPlugInElement.cpp View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M Source/core/rendering/RenderLayerFilterInfo.cpp View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/svg/SVGElement.cpp View 1 2 3 1 chunk +1 line, -5 lines 0 comments Download
M Source/web/TextFinder.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebFrameImpl.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
esprehn
6 years, 9 months ago (2014-03-24 17:32:27 UTC) #1
abarth-chromium
lgtm https://codereview.chromium.org/143983007/diff/250001/Source/core/dom/Document.cpp File Source/core/dom/Document.cpp (right): https://codereview.chromium.org/143983007/diff/250001/Source/core/dom/Document.cpp#newcode1803 Source/core/dom/Document.cpp:1803: documentElement->recalcStyle(NoChange); Can we really spin an arbitrary number ...
6 years, 9 months ago (2014-03-24 17:47:06 UTC) #2
ojan
https://codereview.chromium.org/143983007/diff/250001/Source/core/dom/Document.h File Source/core/dom/Document.h (right): https://codereview.chromium.org/143983007/diff/250001/Source/core/dom/Document.h#newcode446 Source/core/dom/Document.h:446: void unscheduleLayerUpdate(Element&); The overloading of layer to mean RenderLayer ...
6 years, 9 months ago (2014-03-24 19:39:15 UTC) #3
esprehn
The CQ bit was checked by esprehn@chromium.org
6 years, 9 months ago (2014-03-24 22:28:59 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/esprehn@chromium.org/143983007/250001
6 years, 9 months ago (2014-03-24 22:29:00 UTC) #5
esprehn
On 2014/03/24 17:47:06, abarth wrote: > lgtm > > https://codereview.chromium.org/143983007/diff/250001/Source/core/dom/Document.cpp > File Source/core/dom/Document.cpp (right): > ...
6 years, 9 months ago (2014-03-24 22:29:12 UTC) #6
esprehn
On 2014/03/24 19:39:15, ojan wrote: > https://codereview.chromium.org/143983007/diff/250001/Source/core/dom/Document.h > File Source/core/dom/Document.h (right): > > https://codereview.chromium.org/143983007/diff/250001/Source/core/dom/Document.h#newcode446 > ...
6 years, 9 months ago (2014-03-24 22:31:50 UTC) #7
ojan
On 2014/03/24 22:29:12, esprehn wrote: > On 2014/03/24 17:47:06, abarth wrote: > > lgtm > ...
6 years, 9 months ago (2014-03-24 22:52:00 UTC) #8
commit-bot: I haz the power
6 years, 9 months ago (2014-03-24 23:59:34 UTC) #9
Message was sent while issue was closed.
Change committed as 169891

Powered by Google App Engine
This is Rietveld 408576698