Removed #if's.
authorseangies <seangies@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 26 Sep 2006 23:26:51 +0000 (23:26 +0000)
committerseangies <seangies@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 26 Sep 2006 23:26:51 +0000 (23:26 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16592 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/platform/cg/ImageCG.cpp

index ceb777580b89a9e265377c2ba6698cbafbc3ae8f..8a938660d018c2a0c1498e9ba277634c96e6ac48 100644 (file)
@@ -1,3 +1,9 @@
+2006-09-26  Sean Gies  <seangies@apple.com>
+
+        Reviewed by Brady Eidson.
+
+        * platform/cg/ImageCG.cpp: Removed #if's -- Darin said we don't need these.
+
 2006-09-26  Justin Garcia  <justin.garcia@apple.com>
 
         Reviewed by john
index 84e7811d64c01f00dc5bfb0a606b90e9385e134c..00ec95890644c5a6a4fd92485fde98788067c8cc 100644 (file)
 #include "PDFDocumentImage.h"
 #include "PlatformString.h"
 #include <ApplicationServices/ApplicationServices.h>
-
-#if PLATFORM(MAC)
 #include "WebCoreSystemInterface.h"
-#endif
 
 namespace WebCore {
 
@@ -252,10 +249,8 @@ void Image::drawTiled(GraphicsContext* ctxt, const FloatRect& destRect, const Fl
 
         ctxt->save();
 
-#if PLATFORM(MAC)
         // FIXME: Really want a public API for this.
         wkSetPatternPhaseInUserSpace(context, CGPointMake(oneTileRect.origin.x, oneTileRect.origin.y));
-#endif
 
         CGColorSpaceRef patternSpace = CGColorSpaceCreatePattern(NULL);
         CGContextSetFillColorSpace(context, patternSpace);
@@ -346,10 +341,8 @@ void Image::drawTiled(GraphicsContext* ctxt, const FloatRect& dstRect, const Flo
         if (vRule == Image::RepeatTile)
             vPhase -= fmodf(ir.size.height, scaleY * tileSize.height) / 2.0f;
         
-#if PLATFORM(MAC)
         // FIXME: Really want a public API for this.
         wkSetPatternPhaseInUserSpace(context, CGPointMake(ir.origin.x - hPhase, ir.origin.y - vPhase));
-#endif
 
         CGColorSpaceRef patternSpace = CGColorSpaceCreatePattern(NULL);
         CGContextSetFillColorSpace(context, patternSpace);