projects
/
webkit2gtk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08d73e4
)
Protect Document in ProcessingInstruction::setXSLStyleSheet()
author
David Kilzer
<ddkilzer@apple.com>
Fri, 6 Mar 2015 07:33:11 +0000
(07:33 +0000)
committer
Alberto Garcia
<berto@igalia.com>
Fri, 6 Mar 2015 07:33:11 +0000
(07:33 +0000)
===================================================================
Gbp-Pq: Name protect-document.patch
Source/WebCore/dom/ProcessingInstruction.cpp
patch
|
blob
|
history
diff --git
a/Source/WebCore/dom/ProcessingInstruction.cpp
b/Source/WebCore/dom/ProcessingInstruction.cpp
index b37ae8443592cfa8417ebc947905a18bf9867e9f..2e729e6a769f38d1673d232ec3fa926d006e31b0 100644
(file)
--- a/
Source/WebCore/dom/ProcessingInstruction.cpp
+++ b/
Source/WebCore/dom/ProcessingInstruction.cpp
@@
-215,6
+215,7
@@
void ProcessingInstruction::setXSLStyleSheet(const String& href, const URL& base
{
ASSERT(m_isXSL);
m_sheet = XSLStyleSheet::create(this, href, baseURL);
+ Ref<Document> protect(document());
parseStyleSheet(sheet);
}
#endif