| Index: skia/ext/platform_device.h
|
| diff --git a/skia/ext/platform_device.h b/skia/ext/platform_device.h
|
| index 413a47f58b0c7e369d8f6d16e7dab1fdb98bc97b..00845cada28def2ada9e3db3a3cc63f4c3527e4e 100644
|
| --- a/skia/ext/platform_device.h
|
| +++ b/skia/ext/platform_device.h
|
| @@ -2,9 +2,11 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -// Declare a platform-neutral name for this platform's device class
|
| -// that can be used by upper-level classes that just need to pass a reference
|
| -// around.
|
| +#ifndef SKIA_EXT_PLATFORM_DEVICE_H_
|
| +#define SKIA_EXT_PLATFORM_DEVICE_H_
|
| +
|
| +// This file provides an easy way to include the appropriate PlatformDevice
|
| +// header file for your platform.
|
|
|
| #if defined(WIN32)
|
| #include "skia/ext/platform_device_win.h"
|
| @@ -14,14 +16,4 @@
|
| #include "skia/ext/platform_device_linux.h"
|
| #endif
|
|
|
| -namespace skia {
|
| -
|
| -#if defined(WIN32)
|
| -typedef PlatformDeviceWin PlatformDevice;
|
| -#elif defined(__APPLE__)
|
| -typedef PlatformDeviceMac PlatformDevice;
|
| -#elif defined(__linux__)
|
| -typedef PlatformDeviceLinux PlatformDevice;
|
| #endif
|
| -
|
| -} // namespace skia
|
|
|