Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(898)

Unified Diff: skia/ext/platform_surface.h

Issue 2041113002: skia/ext: do not assume Skia's headers include windows.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-06-06 (Monday) 16:06:28 EDT Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/platform_surface.h
diff --git a/skia/ext/platform_surface.h b/skia/ext/platform_surface.h
index b0d5173c40f8929e07c716feb8123ff24dd57726..793bf649b64ba85f72968a51ef82e2205d01ea5d 100644
--- a/skia/ext/platform_surface.h
+++ b/skia/ext/platform_surface.h
@@ -10,7 +10,9 @@
#include "third_party/skia/include/core/SkTypes.h"
#include "third_party/skia/include/core/SkRect.h"
-#if defined(USE_CAIRO)
+#if defined(OS_WIN)
+#include <windows.h>
+#elif defined(USE_CAIRO)
typedef struct _cairo cairo_t;
typedef struct _cairo_rectangle cairo_rectangle_t;
#elif defined(OS_MACOSX)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698