summaryrefslogtreecommitdiffstats
path: root/skia/ext
diff options
context:
space:
mode:
Diffstat (limited to 'skia/ext')
-rw-r--r--skia/ext/google_logging.cc1
-rw-r--r--skia/ext/image_operations.h4
-rw-r--r--skia/ext/platform_canvas.h2
-rw-r--r--skia/ext/platform_device_win.h4
-rw-r--r--skia/ext/skia_utils_win.h4
-rw-r--r--skia/ext/vector_canvas.h2
6 files changed, 10 insertions, 7 deletions
diff --git a/skia/ext/google_logging.cc b/skia/ext/google_logging.cc
index aec809e..b9d8b3a 100644
--- a/skia/ext/google_logging.cc
+++ b/skia/ext/google_logging.cc
@@ -8,6 +8,7 @@
#include "base/logging.h"
#include "base/stringprintf.h"
+#include "third_party/skia/include/core/SkTypes.h"
void SkDebugf_FileLine(const char* file, int line, bool fatal,
const char* format, ...) {
diff --git a/skia/ext/image_operations.h b/skia/ext/image_operations.h
index 07e8b6d..11a8639 100644
--- a/skia/ext/image_operations.h
+++ b/skia/ext/image_operations.h
@@ -6,12 +6,14 @@
#define SKIA_EXT_IMAGE_OPERATIONS_H_
#pragma once
+#include "third_party/skia/include/core/SkTypes.h"
+
class SkBitmap;
struct SkIRect;
namespace skia {
-class ImageOperations {
+class SK_API ImageOperations {
public:
enum ResizeMethod {
//
diff --git a/skia/ext/platform_canvas.h b/skia/ext/platform_canvas.h
index fd65fc0..49d0e21 100644
--- a/skia/ext/platform_canvas.h
+++ b/skia/ext/platform_canvas.h
@@ -16,7 +16,7 @@ namespace skia {
// This class is a specialization of the regular SkCanvas that is designed to
// work with a PlatformDevice to manage platform-specific drawing. It allows
// using both Skia operations and platform-specific operations.
-class PlatformCanvas : public SkCanvas {
+class SK_API PlatformCanvas : public SkCanvas {
public:
// If you use the version with no arguments, you MUST call initialize()
PlatformCanvas();
diff --git a/skia/ext/platform_device_win.h b/skia/ext/platform_device_win.h
index 86f3495f..425f944 100644
--- a/skia/ext/platform_device_win.h
+++ b/skia/ext/platform_device_win.h
@@ -10,7 +10,7 @@
#include <vector>
-#include "SkDevice.h"
+#include "third_party/skia/include/core/SkDevice.h"
class SkMatrix;
class SkPath;
@@ -23,7 +23,7 @@ namespace skia {
// to. It also provides functionality to play well with GDI drawing functions.
// This class is abstract and must be subclassed. It provides the basic
// interface to implement it either with or without a bitmap backend.
-class PlatformDevice : public SkDevice {
+class SK_API PlatformDevice : public SkDevice {
public:
typedef HDC PlatformSurface;
diff --git a/skia/ext/skia_utils_win.h b/skia/ext/skia_utils_win.h
index 3af4e06..bc26060 100644
--- a/skia/ext/skia_utils_win.h
+++ b/skia/ext/skia_utils_win.h
@@ -39,10 +39,10 @@ inline const RECT& SkIRectToRECT(const SkIRect& rect) {
}
// Converts COLORREFs (0BGR) to the ARGB layout Skia expects.
-SkColor COLORREFToSkColor(COLORREF color);
+SK_API SkColor COLORREFToSkColor(COLORREF color);
// Converts ARGB to COLORREFs (0BGR).
-COLORREF SkColorToCOLORREF(SkColor color);
+SK_API COLORREF SkColorToCOLORREF(SkColor color);
} // namespace skia
diff --git a/skia/ext/vector_canvas.h b/skia/ext/vector_canvas.h
index db098c7..4f8bc7a 100644
--- a/skia/ext/vector_canvas.h
+++ b/skia/ext/vector_canvas.h
@@ -19,7 +19,7 @@ namespace skia {
// to work with a VectorDevice to manage platform-specific drawing. It allows
// using both Skia operations and platform-specific operations. It *doesn't*
// support reading back from the bitmap backstore since it is not used.
-class VectorCanvas : public PlatformCanvas {
+class SK_API VectorCanvas : public PlatformCanvas {
public:
VectorCanvas();
explicit VectorCanvas(SkDeviceFactory* factory);