2008-04-12 Julien Chaffraix <jchaffraix@webkit.org>
authorjchaffraix@webkit.org <jchaffraix@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 13 Apr 2008 03:38:12 +0000 (03:38 +0000)
committerjchaffraix@webkit.org <jchaffraix@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 13 Apr 2008 03:38:12 +0000 (03:38 +0000)
        Not reviewed, Qt build fix.

        * dom/XMLTokenizer.cpp:
        (WebCore::XMLTokenizer::parseEndElement):
        * platform/graphics/qt/GraphicsContextQt.cpp:
        (WebCore::GraphicsContext::clip):
        * platform/qt/ClipboardQt.cpp:
        (WebCore::ClipboardQt::setDragImage):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@31848 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/dom/XMLTokenizer.cpp
WebCore/platform/graphics/qt/GraphicsContextQt.cpp
WebCore/platform/qt/ClipboardQt.cpp

index 5352490..d5bc522 100644 (file)
@@ -1,3 +1,14 @@
+2008-04-12  Julien Chaffraix  <jchaffraix@webkit.org>
+
+        Not reviewed, Qt build fix.
+
+        * dom/XMLTokenizer.cpp:
+        (WebCore::XMLTokenizer::parseEndElement):
+        * platform/graphics/qt/GraphicsContextQt.cpp:
+        (WebCore::GraphicsContext::clip):
+        * platform/qt/ClipboardQt.cpp:
+        (WebCore::ClipboardQt::setDragImage):
+
 2008-04-12  David Hyatt  <hyatt@apple.com>
 
         Add support for list-style-image gradients.  Also improve the image comparisons between two RenderStyles        
index 5d9b268..7659f10 100644 (file)
@@ -1927,7 +1927,7 @@ void XMLTokenizer::parseEndElement()
             const AtomicString& charset = scriptElement->getAttribute(charsetAttr);
             if ((m_pendingScript = m_doc->docLoader()->requestScript(scriptHref, charset))) {
                 m_scriptElement = scriptElement;
-                m_pendingScript->ref(this);
+                m_pendingScript->addClient(this);
 
                 // m_pendingScript will be 0 if script was already loaded and ref() executed it
                 if (m_pendingScript)
index 2f2af49..b44464b 100644 (file)
@@ -517,7 +517,7 @@ PlatformPath* GraphicsContext::currentPath()
     return &m_data->currentPath;
 }
 
-void GraphicsContext::clip(const IntRect& rect)
+void GraphicsContext::clip(const FloatRect& rect)
 {
     if (paintingDisabled())
         return;
index 191462c..b739b41 100644 (file)
@@ -186,10 +186,10 @@ void ClipboardQt::setDragImage(CachedImage* image, Node *node, const IntPoint &l
         return;
 
     if (m_dragImage)
-        m_dragImage->deref(this);
+        m_dragImage->removeClient(this);
     m_dragImage = image;
     if (m_dragImage)
-        m_dragImage->ref(this);
+        m_dragImage->addClient(this);
     
     m_dragLoc = loc;
     m_dragImageElement = node;