Title: [176014] releases/WebKitGTK/webkit-2.6/Source/WebCore
- Revision
- 176014
- Author
- [email protected]
- Date
- 2014-11-12 00:51:34 -0800 (Wed, 12 Nov 2014)
Log Message
Merge r175974 - Protect Document in ProcessingInstruction::setXSLStyleSheet()
<http://webkit.org/b/138621>
Reviewed by Andreas Kling.
The patch is inspired by the following Blink revision by
<[email protected]>:
<https://src.chromium.org/viewvc/blink?view=rev&revision=182309>
* dom/ProcessingInstruction.cpp:
(WebCore::ProcessingInstruction::setXSLStyleSheet):
Modified Paths
Diff
Modified: releases/WebKitGTK/webkit-2.6/Source/WebCore/ChangeLog (176013 => 176014)
--- releases/WebKitGTK/webkit-2.6/Source/WebCore/ChangeLog 2014-11-12 08:49:17 UTC (rev 176013)
+++ releases/WebKitGTK/webkit-2.6/Source/WebCore/ChangeLog 2014-11-12 08:51:34 UTC (rev 176014)
@@ -1,3 +1,17 @@
+2014-11-11 David Kilzer <[email protected]>
+
+ Protect Document in ProcessingInstruction::setXSLStyleSheet()
+ <http://webkit.org/b/138621>
+
+ Reviewed by Andreas Kling.
+
+ The patch is inspired by the following Blink revision by
+ <[email protected]>:
+ <https://src.chromium.org/viewvc/blink?view=rev&revision=182309>
+
+ * dom/ProcessingInstruction.cpp:
+ (WebCore::ProcessingInstruction::setXSLStyleSheet):
+
2014-11-05 Shivakumar JM <[email protected]>
splitText API does not match DOM specification.
Modified: releases/WebKitGTK/webkit-2.6/Source/WebCore/dom/ProcessingInstruction.cpp (176013 => 176014)
--- releases/WebKitGTK/webkit-2.6/Source/WebCore/dom/ProcessingInstruction.cpp 2014-11-12 08:49:17 UTC (rev 176013)
+++ releases/WebKitGTK/webkit-2.6/Source/WebCore/dom/ProcessingInstruction.cpp 2014-11-12 08:51:34 UTC (rev 176014)
@@ -215,6 +215,7 @@
{
ASSERT(m_isXSL);
m_sheet = XSLStyleSheet::create(this, href, baseURL);
+ Ref<Document> protect(document());
parseStyleSheet(sheet);
}
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes