Protect Document in ProcessingInstruction::setXSLStyleSheet()
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Nov 2014 21:56:21 +0000 (21:56 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Nov 2014 21:56:21 +0000 (21:56 +0000)
commit28f25bb8a1209d7c74499091d3f88d91ab71b075
treeea70f4e3244c997c70f97308d81e0f6bf9a73675
parentbd994f4839dfc1c0d433657a8003cfb7bc609829
Protect Document in ProcessingInstruction::setXSLStyleSheet()
<http://webkit.org/b/138621>

Reviewed by Andreas Kling.

The patch is inspired by the following Blink revision by
<tasak@google.com>:
<https://src.chromium.org/viewvc/blink?view=rev&revision=182309>

* dom/ProcessingInstruction.cpp:
(WebCore::ProcessingInstruction::setXSLStyleSheet):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@175974 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/dom/ProcessingInstruction.cpp