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

Issue 26270004: Element should not use confusingAndOftenMisusedAttached (Closed)

Created:
7 years, 2 months ago by esprehn
Modified:
7 years, 1 month ago
Reviewers:
abarth-chromium, ojan
CC:
blink-reviews, nessy, eae+blinkwatch, leviw+renderwatch, feature-media-reviews_chromium.org, dglazkov+blink, adamk+blink_chromium.org, jchaffraix+rendering, vcarbune.chromium, pdr.
Visibility:
Public.

Description

Element should not use confusingAndOftenMisusedAttached Instead introduce Node::inActiveDocument() and use that. To do this I had to rename a method of the same name on HTMLMediaElement. All callers in Element.cpp that were checking attached really just want to know if the element is in an active document and participating in recalcStyle. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=160733

Patch Set 1 #

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -13 lines) Patch
M Source/core/dom/Element.cpp View 1 5 chunks +5 lines, -5 lines 0 comments Download
M Source/core/dom/Node.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/dom/Node.cpp View 1 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/html/HTMLMediaElement.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/html/HTMLMediaElement.cpp View 1 5 chunks +5 lines, -5 lines 0 comments Download
M Source/core/rendering/RenderVideo.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
esprehn
7 years, 2 months ago (2013-10-07 21:31:31 UTC) #1
ojan
lgtm On Mon, Oct 7, 2013 at 2:31 PM, <esprehn@chromium.org> wrote: > Reviewers: abarth, ojan, ...
7 years, 2 months ago (2013-10-07 21:34:15 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/esprehn@chromium.org/26270004/1
7 years, 2 months ago (2013-10-07 21:39:21 UTC) #3
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=7112
7 years, 2 months ago (2013-10-07 23:43:37 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/26270004/1
7 years, 2 months ago (2013-10-08 17:47:28 UTC) #5
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=7222
7 years, 2 months ago (2013-10-08 19:16:22 UTC) #6
esprehn
On 2013/10/08 19:16:22, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 2 months ago (2013-10-08 23:25:59 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/esprehn@chromium.org/26270004/26001
7 years, 1 month ago (2013-10-26 16:34:55 UTC) #8
esprehn
This is ready to land now that https://codereview.chromium.org/43223002/ landed fixing SVG.
7 years, 1 month ago (2013-10-26 19:00:11 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/esprehn@chromium.org/26270004/26001
7 years, 1 month ago (2013-10-26 19:00:33 UTC) #10
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=14122
7 years, 1 month ago (2013-10-26 19:42:28 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/esprehn@chromium.org/26270004/26001
7 years, 1 month ago (2013-10-26 20:06:55 UTC) #12
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=14136
7 years, 1 month ago (2013-10-26 20:43:04 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/esprehn@chromium.org/26270004/26001
7 years, 1 month ago (2013-10-26 20:47:15 UTC) #14
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=14152
7 years, 1 month ago (2013-10-26 21:49:40 UTC) #15
esprehn
Strangely this is failing AnimatedWebPTests.truncatedInBetweenFrame in webkit_unit_tests but only on windows? Seems crazy...
7 years, 1 month ago (2013-10-26 22:03:27 UTC) #16
esprehn
On 2013/10/26 22:03:27, esprehn wrote: > Strangely this is failing AnimatedWebPTests.truncatedInBetweenFrame in > webkit_unit_tests but ...
7 years, 1 month ago (2013-10-26 22:06:36 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/esprehn@chromium.org/26270004/26001
7 years, 1 month ago (2013-10-28 17:27:29 UTC) #18
commit-bot: I haz the power
7 years, 1 month ago (2013-10-28 18:30:42 UTC) #19
Message was sent while issue was closed.
Change committed as 160733

Powered by Google App Engine
This is Rietveld 408576698