[SCM] WebKit Debian packaging branch, webkit-1.3, updated. upstream/1.3.7-4207-g178b198

hyatt at apple.com hyatt at apple.com
Mon Feb 21 00:38:44 UTC 2011


The following commit has been merged in the webkit-1.3 branch:
commit 749410979d54e4ba44f2c41781bc55aceba61bd3
Author: hyatt at apple.com <hyatt at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Feb 2 19:13:09 2011 +0000

    More right()/bottom() to maxX()/maxY() conversion.
    
    Reviewed by Darin Adler.
    
    * page/chromium/FrameChromium.cpp:
    (WebCore::Frame::nodeImage):
    (WebCore::Frame::dragImageForSelection):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77390 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog
index 75734c7..89356bf 100644
--- a/Source/WebCore/ChangeLog
+++ b/Source/WebCore/ChangeLog
@@ -1,3 +1,13 @@
+2011-02-02  David Hyatt  <hyatt at apple.com>
+
+        Reviewed by Darin Adler.
+
+        More right()/bottom() to maxX()/maxY() conversion.
+
+        * page/chromium/FrameChromium.cpp:
+        (WebCore::Frame::nodeImage):
+        (WebCore::Frame::dragImageForSelection):
+
 2011-02-02  Sam Weinig  <sam at webkit.org>
 
         Fix windows clean build.
diff --git a/Source/WebCore/page/chromium/FrameChromium.cpp b/Source/WebCore/page/chromium/FrameChromium.cpp
index f6f47a6..e9dc2a3 100644
--- a/Source/WebCore/page/chromium/FrameChromium.cpp
+++ b/Source/WebCore/page/chromium/FrameChromium.cpp
@@ -85,7 +85,7 @@ DragImageRef Frame::nodeImage(Node* node)
     if (!buffer)
         return 0;
     buffer->context()->translate(-paintingRect.x(), -paintingRect.y());
-    buffer->context()->clip(FloatRect(0, 0, paintingRect.right(), paintingRect.bottom()));
+    buffer->context()->clip(FloatRect(0, 0, paintingRect.maxX(), paintingRect.maxY()));
 
     m_view->paintContents(buffer->context(), paintingRect);
 
@@ -108,7 +108,7 @@ DragImageRef Frame::dragImageForSelection()
     if (!buffer)
         return 0;
     buffer->context()->translate(-paintingRect.x(), -paintingRect.y());
-    buffer->context()->clip(FloatRect(0, 0, paintingRect.right(), paintingRect.bottom()));
+    buffer->context()->clip(FloatRect(0, 0, paintingRect.maxX(), paintingRect.maxY()));
 
     m_view->paintContents(buffer->context(), paintingRect);
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list