build fixed. band happy.
authorggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Sep 2006 01:29:30 +0000 (01:29 +0000)
committerggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Sep 2006 01:29:30 +0000 (01:29 +0000)
        * platform/cg/GraphicsContextCG.cpp:
        (WebCore::GraphicsContext::translate):
        * platform/mac/WidgetMac.mm:

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

WebCore/ChangeLog
WebCore/platform/cg/GraphicsContextCG.cpp
WebCore/platform/mac/WidgetMac.mm

index 57139e1768b7b4fbf090637fa316555b720c3be9..b2e5f5b51112c12502f4a24cdf3c411eae752f6b 100644 (file)
@@ -1,3 +1,11 @@
+2006-09-21  Geoffrey Garen  <ggaren@apple.com>
+
+        build fixed. band happy.
+        
+        * platform/cg/GraphicsContextCG.cpp:
+        (WebCore::GraphicsContext::translate):
+        * platform/mac/WidgetMac.mm:
+
 2006-09-21  Geoffrey Garen  <ggaren@apple.com>
 
         Reviewed by Maciej.
index 173ba1a2d962d608d372b17b40e2f2f3694ec5d0..2571eed861a162feba718e36b347f32096762dc1 100644 (file)
@@ -665,11 +665,11 @@ void GraphicsContext::rotate(float angle)
     CGContextRotateCTM(platformContext(), angle);
 }
 
-void GraphicsContext::translate(const FloatSize& size)
+void GraphicsContext::translate(int x, int y)
 {
     if (paintingDisabled())
         return;
-    CGContextTranslateCTM(platformContext(), size.width(), size.height());
+    CGContextTranslateCTM(platformContext(), x, y);
 }
 
 void GraphicsContext::concatCTM(const AffineTransform& transform)
index 3e133fc48231e8537d47fa4a32c6a8cde99f92c1..24cea8eec63d3d08bf6d8c5468716d97b9dbd4a9 100644 (file)
@@ -271,17 +271,6 @@ void Widget::setFrameGeometry(const IntRect &rect)
     END_BLOCK_OBJC_EXCEPTIONS;
 }
 
-IntPoint Widget::mapFromGlobal(const IntPoint &p) const
-{
-    NSPoint bp = {0,0};
-
-    BEGIN_BLOCK_OBJC_EXCEPTIONS;
-    bp = [[FrameMac::bridgeForWidget(this) window] convertScreenToBase:[data->view convertPoint:p toView:nil]];
-    return IntPoint(bp);
-    END_BLOCK_OBJC_EXCEPTIONS;
-    return IntPoint();
-}
-
 NSView* Widget::getView() const
 {
     return data->view;