[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

hyatt hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:38:02 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 11e7f80e84f837ff38dc830735e6f7973bea6164
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon May 3 17:53:06 2004 +0000

    	Make sure that XML processing instructions set themselves as the parent node of the stylesheets they load,
    	so that they will get stylesheetLoaded() notifications when @imported stylesheets are contained inside the
    	sheet.
    
            Reviewed by cblu
    
            * khtml/xml/dom_xmlimpl.cpp:
            (ProcessingInstructionImpl::setStyleSheet):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6531 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 73c76af..ab55223 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,14 @@
+2004-05-03  David Hyatt  <hyatt at apple.com>
+
+	Make sure that XML processing instructions set themselves as the parent node of the stylesheets they load,
+	so that they will get stylesheetLoaded() notifications when @imported stylesheets are contained inside the
+	sheet.
+	
+        Reviewed by cblu
+
+        * khtml/xml/dom_xmlimpl.cpp:
+        (ProcessingInstructionImpl::setStyleSheet):
+
 2004-04-30  Chris Blumenberg  <cblu at apple.com>
 
 	Fixed: <rdar://problem/3543662>: HITLIST-137: REGRESSION: reproducible hang copying all text at Dave's blog, and other pages
diff --git a/WebCore/khtml/xml/dom_xmlimpl.cpp b/WebCore/khtml/xml/dom_xmlimpl.cpp
index a2b253e..09e0e70 100644
--- a/WebCore/khtml/xml/dom_xmlimpl.cpp
+++ b/WebCore/khtml/xml/dom_xmlimpl.cpp
@@ -456,7 +456,7 @@ void ProcessingInstructionImpl::setStyleSheet(const DOM::DOMString &url, const D
 {
     if (m_sheet)
 	m_sheet->deref();
-    m_sheet = new CSSStyleSheetImpl(getDocument(), url);
+    m_sheet = new CSSStyleSheetImpl(this, url);
     m_sheet->ref();
     m_sheet->parseString(sheet);
     if (m_cachedSheet)

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list