Title: [108589] branches/subpixellayout/Source/WebCore/platform
Revision
108589
Author
e...@chromium.org
Date
2012-02-22 18:08:11 -0800 (Wed, 22 Feb 2012)

Log Message

Removed unused methods from branch.

Modified Paths


Diff

Modified: branches/subpixellayout/Source/WebCore/platform/Widget.h (108588 => 108589)


--- branches/subpixellayout/Source/WebCore/platform/Widget.h	2012-02-23 01:51:51 UTC (rev 108588)
+++ branches/subpixellayout/Source/WebCore/platform/Widget.h	2012-02-23 02:08:11 UTC (rev 108589)
@@ -28,7 +28,6 @@
 #define Widget_h
 
 #include "IntRect.h"
-#include "LayoutTypes.h"
 #include <wtf/Forward.h>
 #include <wtf/RefCounted.h>
 

Modified: branches/subpixellayout/Source/WebCore/platform/graphics/FloatPoint.h (108588 => 108589)


--- branches/subpixellayout/Source/WebCore/platform/graphics/FloatPoint.h	2012-02-23 01:51:51 UTC (rev 108588)
+++ branches/subpixellayout/Source/WebCore/platform/graphics/FloatPoint.h	2012-02-23 02:08:11 UTC (rev 108589)
@@ -135,17 +135,6 @@
         return FloatPoint(std::max(m_x, other.m_x), std::max(m_y, other.m_y));
     }
 
-    FloatPoint shrunkTo(const FloatPoint& other) const
-    {
-        return FloatPoint(m_x < other.m_x ? m_x : other.m_x,
-            m_y < other.m_y ? m_y : other.m_y);
-    }
-
-    void clampNegativeToZero()
-    {
-        *this = expandedTo(zero());
-    }
-
     FloatPoint transposedPoint() const
     {
         return FloatPoint(m_y, m_x);
@@ -254,11 +243,6 @@
     return IntSize(static_cast<int>(p.x()), static_cast<int>(p.y()));
 }
 
-inline FloatPoint toPoint(const FloatSize& size)
-{
-    return FloatPoint(size.width(), size.height());
-}
-
 float findSlope(const FloatPoint& p1, const FloatPoint& p2, float& c);
 
 // Find point where lines through the two pairs of points intersect. Returns false if the lines don't intersect.
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to