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

Issue 24066002: Remove ShouldSetAttached flag to lazyAttach (Closed)

Created:
7 years, 3 months ago by esprehn
Modified:
7 years, 3 months ago
Reviewers:
ojan, eseidel
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, adamk+blink_chromium.org
Visibility:
Public.

Description

Remove ShouldSetAttached flag to lazyAttach This flag is only used by HTMLFrameElementBase and is suspect since calling lazyAttach with this flag is the same as calling setNeedsStyleRecalc(). Frames appear to use this so that synchronous JS that runs from javascipt: URLs can trigger an attach of the frame and get at its renderer. We can replace this one caller with setNeedsStyleRecalc(). In the future we should merge the lazyAttach logic into insertedInto so that by the time the didNotifySubtreeInsertions callback runs any JS will observe the whole tree attach.

Patch Set 1 #

Patch Set 2 : Use setNeedsStyleRecalc() in HTMLFrameElementBase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -19 lines) Patch
M Source/core/dom/Node.h View 3 chunks +4 lines, -8 lines 0 comments Download
M Source/core/dom/Node.cpp View 1 1 chunk +2 lines, -5 lines 0 comments Download
M Source/core/html/HTMLFrameElementBase.cpp View 1 1 chunk +5 lines, -6 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
esprehn
7 years, 3 months ago (2013-09-08 22:02:00 UTC) #1
eseidel
lgtm
7 years, 3 months ago (2013-09-08 22:20:35 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/24066002/1
7 years, 3 months ago (2013-09-08 22:20:46 UTC) #3
commit-bot: I haz the power
Change committed as 157423
7 years, 3 months ago (2013-09-09 00:00:32 UTC) #4
esprehn
On 2013/09/09 00:00:32, I haz the power (commit-bot) wrote: > Change committed as 157423 This ...
7 years, 3 months ago (2013-09-10 08:57:34 UTC) #5
esprehn
On 2013/09/10 08:57:34, esprehn wrote: > On 2013/09/09 00:00:32, I haz the power (commit-bot) wrote: ...
7 years, 3 months ago (2013-09-10 09:15:43 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/esprehn@chromium.org/24066002/14001
7 years, 3 months ago (2013-09-11 06:18:17 UTC) #7
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_tests, webkit_unit_tests, weborigin_unittests, wtf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=4539
7 years, 3 months ago (2013-09-11 06:53:04 UTC) #8
commit-bot: I haz the power
7 years, 3 months ago (2013-09-11 07:12:06 UTC) #9

Powered by Google App Engine
This is Rietveld 408576698