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

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

Issue 714393002: Remove support for MSVC (Closed) Base URL: git@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 ede4a519d7942563c12c6530f88ad50b723a8d57..90e427a2ac58264f2bfff403d23515e570e46c8a 100644
--- a/sky/engine/public/platform/Platform.h
+++ b/sky/engine/public/platform/Platform.h
@@ -31,10 +31,6 @@
#ifndef Platform_h
#define Platform_h
-#ifdef WIN32
-#include <windows.h>
-#endif
-
#include "WebCommon.h"
#include "WebData.h"
#include "WebGestureDevice.h"
@@ -80,12 +76,7 @@ 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