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

Unified Diff: sky/engine/public/platform/Platform.h

Issue 719063002: Revert "Remove support for MSVC" (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
Index: sky/engine/public/platform/Platform.h
diff --git a/sky/engine/public/platform/Platform.h b/sky/engine/public/platform/Platform.h
index 90e427a2ac58264f2bfff403d23515e570e46c8a..ede4a519d7942563c12c6530f88ad50b723a8d57 100644
--- a/sky/engine/public/platform/Platform.h
+++ b/sky/engine/public/platform/Platform.h
@@ -31,6 +31,10 @@
#ifndef Platform_h
#define Platform_h
+#ifdef WIN32
+#include <windows.h>
+#endif
+
#include "WebCommon.h"
#include "WebData.h"
#include "WebGestureDevice.h"
@@ -76,7 +80,12 @@ struct WebSize;
class Platform {
public:
// HTML5 Database ------------------------------------------------------
+
+#ifdef WIN32
+ typedef HANDLE FileHandle;
+#else
typedef int FileHandle;
+#endif
BLINK_PLATFORM_EXPORT static void initialize(Platform*);
BLINK_PLATFORM_EXPORT static void shutdown();

Powered by Google App Engine
This is Rietveld 408576698