Commit b7074c08 authored by eric@webkit.org's avatar eric@webkit.org
Browse files

2008-10-23 Mike Pinkerton <pinkerton@chromium.org>

        Reviewed by Eric Seidel.

        PLATFORM(CHROMIUM) uses CG the same way PLATFORM(MAC) does so fix
        ifdefs to reflect that.

        * platform/graphics/cg/GraphicsContextPlatformPrivateCG.h:
        * platform/graphics/cg/ImageCG.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 586415d5
2008-10-23 Mike Pinkerton <pinkerton@chromium.org>
Reviewed by Eric Seidel.
PLATFORM(CHROMIUM) uses CG the same way PLATFORM(MAC) does so fix
ifdefs to reflect that.
* platform/graphics/cg/GraphicsContextPlatformPrivateCG.h:
* platform/graphics/cg/ImageCG.cpp:
2008-10-23 Peter Kasting <pkasting@google.com>
 
Reviewed by Adam Roben.
......
......@@ -45,7 +45,7 @@ public:
CGContextRelease(m_cgContext);
}
#if PLATFORM(MAC)
#if PLATFORM(DARWIN)
// These methods do nothing on Mac.
void save() {}
void restore() {}
......@@ -71,9 +71,7 @@ public:
void concatCTM(const AffineTransform&);
void beginTransparencyLayer() { m_transparencyCount++; }
void endTransparencyLayer() { m_transparencyCount--; }
#endif
#if PLATFORM(WIN)
HDC m_hdc;
unsigned m_transparencyCount;
#endif
......
......@@ -37,7 +37,7 @@
#include "PlatformString.h"
#include <ApplicationServices/ApplicationServices.h>
#if PLATFORM(MAC)
#if PLATFORM(DARWIN)
#include "WebCoreSystemInterface.h"
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment