summaryrefslogtreecommitdiffstats
path: root/skia/ext/platform_device.h
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-14 22:27:18 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-14 22:27:18 +0000
commit686439cad71d7a391214ca1dfaf1e23927b1a43a (patch)
tree0fc586a435ee820adb73a0ea4b86fdfad0902bf4 /skia/ext/platform_device.h
parent6634b7db87117a9773b4f78b9747ff71a9849a3a (diff)
downloadchromium_src-686439cad71d7a391214ca1dfaf1e23927b1a43a.zip
chromium_src-686439cad71d7a391214ca1dfaf1e23927b1a43a.tar.gz
chromium_src-686439cad71d7a391214ca1dfaf1e23927b1a43a.tar.bz2
Cleanup: Remove unneeded forward declarations in printing, sandbox, and skia.
BUG=none TEST=none Review URL: http://codereview.chromium.org/8538001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109961 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext/platform_device.h')
-rw-r--r--skia/ext/platform_device.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/skia/ext/platform_device.h b/skia/ext/platform_device.h
index 3973f8a..741d2e4 100644
--- a/skia/ext/platform_device.h
+++ b/skia/ext/platform_device.h
@@ -13,17 +13,15 @@
#include <vector>
#endif
-#include "third_party/skia/include/core/SkPreConfig.h"
-#include "third_party/skia/include/core/SkDevice.h"
#include "third_party/skia/include/core/SkColor.h"
+#include "third_party/skia/include/core/SkDevice.h"
+#include "third_party/skia/include/core/SkPreConfig.h"
class SkMatrix;
class SkMetaData;
class SkPath;
class SkRegion;
-struct SkIRect;
-
#if defined(OS_LINUX) || defined(OS_OPENBSD) || defined(OS_FREEBSD) \
|| defined(OS_SUN)
typedef struct _cairo cairo_t;
@@ -73,7 +71,7 @@ SK_API PlatformDevice* GetPlatformDevice(SkDevice* device);
#if defined(OS_WIN)
// Initializes the default settings and colors in a device context.
SK_API void InitializeDC(HDC context);
-#elif defined (OS_MACOSX)
+#elif defined(OS_MACOSX)
// Returns the CGContext that backing the SkDevice. Forwards to the bound
// PlatformDevice. Returns NULL if no PlatformDevice is bound.
SK_API CGContextRef GetBitmapContext(SkDevice* device);
@@ -179,4 +177,4 @@ class SK_API PlatformDevice {
} // namespace skia
-#endif
+#endif // SKIA_EXT_PLATFORM_DEVICE_H_