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

Unified Diff: src/utils/win/SkDWriteGeometrySink.cpp

Issue 1411283005: Start making all .cpp files compile-able on all platforms. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: conditional on expat Created 5 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: src/utils/win/SkDWriteGeometrySink.cpp
diff --git a/src/utils/win/SkDWriteGeometrySink.cpp b/src/utils/win/SkDWriteGeometrySink.cpp
index 066d4a4674c98f40d4058b93adaa2507bd1ed9c0..9f6a97caf14b5b6c863c4638df0ca73341191764 100644
--- a/src/utils/win/SkDWriteGeometrySink.cpp
+++ b/src/utils/win/SkDWriteGeometrySink.cpp
@@ -6,6 +6,7 @@
*/
#include "SkTypes.h"
+#if defined(SK_BUILD_FOR_WIN32)
#include "SkDWriteGeometrySink.h"
#include "SkFloatUtils.h"
@@ -144,3 +145,5 @@ HRESULT SkDWriteGeometrySink::Create(SkPath* path, IDWriteGeometrySink** geometr
*geometryToPath = new SkDWriteGeometrySink(path);
return S_OK;
}
+
+#endif//defined(SK_BUILD_FOR_WIN32)

Powered by Google App Engine
This is Rietveld 408576698