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

Unified Diff: src/core/SkThreadID.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) 13:54:33 EDT Created 4 years, 6 months 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/core/SkThreadID.cpp
diff --git a/src/core/SkThreadID.cpp b/src/core/SkThreadID.cpp
index 589b4da05a8bdb8e32f9d02df2d68085b33d016f..45f52b18600933de700e941c449741a399fb13ac 100644
--- a/src/core/SkThreadID.cpp
+++ b/src/core/SkThreadID.cpp
@@ -6,9 +6,9 @@
*/
#include "SkThreadID.h"
+#include "SkLeanWindows.h"
bungeman-skia 2016/06/06 18:11:59 nit: alphabetize
hal.canary 2016/06/06 18:22:32 Done.
#ifdef SK_BUILD_FOR_WIN
- #include <windows.h>
SkThreadID SkGetThreadID() { return GetCurrentThreadId(); }
#else
#include <pthread.h>

Powered by Google App Engine
This is Rietveld 408576698