Chromium Code Reviews

Unified Diff: src/core/SkTime.cpp

Issue 2041943002: SkLeanWindows.h: #include "Windows.h" fewer places (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-06-06 (Monday) 14:22:16 EDT Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/core/SkTime.cpp
diff --git a/src/core/SkTime.cpp b/src/core/SkTime.cpp
index e89d5b9b3a850aebfeb157aa20d974b78a396dee..4ed08928ba041581aead888840b813f56cc9a3c9 100644
--- a/src/core/SkTime.cpp
+++ b/src/core/SkTime.cpp
@@ -5,6 +5,7 @@
* found in the LICENSE file.
*/
+#include "SkLeanWindows.h"
#include "SkString.h"
#include "SkTime.h"
#include "SkTypes.h"
@@ -25,10 +26,8 @@ void SkTime::DateTime::toISO8601(SkString* dst) const {
}
}
-
#ifdef SK_BUILD_FOR_WIN32
-#include "windows.h"
void SkTime::GetDateTime(DateTime* dt) {
if (dt) {
SYSTEMTIME st;

Powered by Google App Engine