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

Issue 14064008: Clear StyleResolver state before returning from styleForElement(). (Closed)

Created:
7 years, 8 months ago by kenrb
Modified:
7 years, 8 months ago
CC:
blink-reviews, apavlov+blink_chromium.org, Alexis Menard
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Clear StyleResolver state before returning from styleForElement(). A cached element pointer in the resolver state was causing confusion because in some cases a subsequent call to styleForElement() would use a pointer to a different object that is at the same memory address as the previous one. R=dglazkov@chromium.org BUG=196393 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=148687

Patch Set 1 #

Patch Set 2 : Clear StyleResolver state before returning from styleForElement() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, --1 lines) Patch
A LayoutTests/fast/css/reload-non-styled-element-crash.html View 1 1 chunk +19 lines, -0 lines 0 comments Download
A + LayoutTests/fast/css/reload-non-styled-element-crash-expected.txt View 1 0 chunks +-1 lines, --1 lines 0 comments Download
M Source/core/css/StyleResolver.cpp View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
kenrb
Julien are you able to review a small change to StyleResolver?
7 years, 8 months ago (2013-04-17 15:27:57 UTC) #1
eseidel
7 years, 8 months ago (2013-04-17 17:33:27 UTC) #2
dglazkov
Aw jeez. LGTM.
7 years, 8 months ago (2013-04-17 17:42:43 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenrb@chromium.org/14064008/1
7 years, 8 months ago (2013-04-18 16:06:38 UTC) #4
commit-bot: I haz the power
Failed to apply patch for Source/WebCore/css/StyleResolver.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; A Source/WebCore ...
7 years, 8 months ago (2013-04-18 16:06:39 UTC) #5
aarya
WebCore has moved to core.
7 years, 8 months ago (2013-04-18 16:10:21 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenrb@chromium.org/14064008/8001
7 years, 8 months ago (2013-04-18 17:29:40 UTC) #7
commit-bot: I haz the power
Presubmit check for 14064008-8001 failed and returned exit status -2001. The presubmit check was hung. ...
7 years, 8 months ago (2013-04-18 17:35:42 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenrb@chromium.org/14064008/8001
7 years, 8 months ago (2013-04-18 18:08:08 UTC) #9
commit-bot: I haz the power
Presubmit check for 14064008-8001 failed and returned exit status -2001. The presubmit check was hung. ...
7 years, 8 months ago (2013-04-18 18:14:12 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenrb@chromium.org/14064008/8001
7 years, 8 months ago (2013-04-18 19:43:54 UTC) #11
commit-bot: I haz the power
Presubmit check for 14064008-8001 failed and returned exit status -2001. The presubmit check was hung. ...
7 years, 8 months ago (2013-04-18 19:49:57 UTC) #12
inferno
7 years, 8 months ago (2013-04-18 21:24:47 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 manually as r148687 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698