⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 176730 in webkit


Ignore:
Timestamp:
Dec 3, 2014, 11:36:58 AM (12 years ago)
Author:
dburkart@apple.com
Message:

Merged r175974. rdar://problems/19122595

Location:
branches/safari-600.3-branch/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-600.3-branch/Source/WebCore/ChangeLog

    r176667 r176730  
     12014-12-03  Dana Burkart  <dburkart@apple.com>
     2
     3        Merge r175974. <rdar://problem/19122595>
     4
     5    2014-11-11  David Kilzer  <ddkilzer@apple.com>
     6
     7            Protect Document in ProcessingInstruction::setXSLStyleSheet()
     8            <http://webkit.org/b/138621>
     9
     10            Reviewed by Andreas Kling.
     11
     12            The patch is inspired by the following Blink revision by
     13            <tasak@google.com>:
     14            <https://src.chromium.org/viewvc/blink?view=rev&revision=182309>
     15
     16            * dom/ProcessingInstruction.cpp:
     17            (WebCore::ProcessingInstruction::setXSLStyleSheet):
     18
     19
    1202014-12-02  Dana Burkart  <dburkart@apple.com>
    221
  • branches/safari-600.3-branch/Source/WebCore/dom/ProcessingInstruction.cpp

    r170774 r176730  
    216216    ASSERT(m_isXSL);
    217217    m_sheet = XSLStyleSheet::create(this, href, baseURL);
     218    Ref<Document> protect(document());
    218219    parseStyleSheet(sheet);
    219220}
Note: See TracChangeset for help on using the changeset viewer.