Index: src/utils/win/SkAutoCoInitialize.cpp |
diff --git a/src/utils/win/SkAutoCoInitialize.cpp b/src/utils/win/SkAutoCoInitialize.cpp |
index 3b7b42b74f2a847ba18ab1eab4baa15d92741b72..f6da67dcaea381821c6cda5ef348f2759433f0bd 100644 |
--- a/src/utils/win/SkAutoCoInitialize.cpp |
+++ b/src/utils/win/SkAutoCoInitialize.cpp |
@@ -8,12 +8,11 @@ |
#include "SkTypes.h" |
#if defined(SK_BUILD_FOR_WIN32) |
- |
-#define WIN32_LEAN_AND_MEAN |
-#include <windows.h> |
-#include <ole2.h> |
#include "SkAutoCoInitialize.h" |
+#include <objbase.h> |
+#include <winerror.h> |
+ |
SkAutoCoInitialize::SkAutoCoInitialize() : |
fHR( |
CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE) |