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

Issue 579133004: Should protect document in ProcessingInstruction::setXSLStyleSheet. (Closed)

Created:
6 years, 3 months ago by tasak
Modified:
6 years, 3 months ago
Reviewers:
haraken, sof, dglazkov
CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, sof, eae+blinkwatch, rwlbuis, inferno, oilpan-reviews
Project:
blink
Visibility:
Public.

Description

Should protect document in ProcessingInstruction::setXSLStyleSheet. BUG=403276 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182309

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M Source/core/dom/ProcessingInstruction.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
tasak
Would you review this CL? I manually tested, because it is difficult to create layout ...
6 years, 3 months ago (2014-09-18 08:24:45 UTC) #2
sof
https://codereview.chromium.org/579133004/diff/1/Source/core/dom/ProcessingInstruction.cpp File Source/core/dom/ProcessingInstruction.cpp (right): https://codereview.chromium.org/579133004/diff/1/Source/core/dom/ProcessingInstruction.cpp#newcode221 Source/core/dom/ProcessingInstruction.cpp:221: RefPtr<Document> protect(&document()); Please make it RefPtrWillBeRawPtr<Document> ? :)
6 years, 3 months ago (2014-09-18 08:55:42 UTC) #4
tasak
Thank you. https://codereview.chromium.org/579133004/diff/1/Source/core/dom/ProcessingInstruction.cpp File Source/core/dom/ProcessingInstruction.cpp (right): https://codereview.chromium.org/579133004/diff/1/Source/core/dom/ProcessingInstruction.cpp#newcode221 Source/core/dom/ProcessingInstruction.cpp:221: RefPtr<Document> protect(&document()); On 2014/09/18 08:55:41, sof wrote: ...
6 years, 3 months ago (2014-09-18 09:13:12 UTC) #5
sof
You wouldn't happen to have the stack when the document is deleted (without this protection) ...
6 years, 3 months ago (2014-09-18 09:51:21 UTC) #6
tasak
On 2014/09/18 09:51:21, sof wrote: > You wouldn't happen to have the stack when the ...
6 years, 3 months ago (2014-09-18 09:58:08 UTC) #7
sof
lgtm, let's get this one going.
6 years, 3 months ago (2014-09-19 07:42:14 UTC) #8
tasak
On 2014/09/19 07:42:14, sof wrote: > lgtm, let's get this one going. Thank you.
6 years, 3 months ago (2014-09-19 08:00:43 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/579133004/20001
6 years, 3 months ago (2014-09-19 08:01:09 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001) as 182309
6 years, 3 months ago (2014-09-19 09:08:09 UTC) #12
haraken
6 years, 3 months ago (2014-09-20 08:09:35 UTC) #13
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698