From 4dbbd04314cc0606f8d3bafe515c97e52c180f73 Mon Sep 17 00:00:00 2001 From: halcanary Date: Tue, 7 Jun 2016 17:21:10 -0700 Subject: SkLeanWindows.h: #include "Windows.h" fewer places $ git grep -l '' include src include/private/SkLeanWindows.h $ git grep -l SkLeanWindows.h | grep '\.h$' include/ports/SkTypeface_win.h include/utils/win/SkHRESULT.h include/utils/win/SkTScopedComPtr.h include/views/SkEvent.h src/core/SkMathPriv.h src/ports/SkTypeface_win_dw.h src/utils/SkThreadUtils_win.h src/utils/win/SkWGL.h The same for `#include ` that was found in SkMath.h. Those functions that needed it are moved to SkMathPriv.h. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2041943002 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_chromium_compile_dbg_ng,win_chromium_compile_rel_ng Review-Url: https://codereview.chromium.org/2041943002 --- include/views/SkEvent.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/views') diff --git a/include/views/SkEvent.h b/include/views/SkEvent.h index b8fc00ef51..6495530006 100644 --- a/include/views/SkEvent.h +++ b/include/views/SkEvent.h @@ -12,6 +12,8 @@ #include "SkMetaData.h" #include "SkString.h" +#include "../private/SkLeanWindows.h" + /** Unique 32bit id used to identify an instance of SkEventSink. When events are posted, they are posted to a specific sinkID. When it is time to dispatch the event, the sinkID is used to find the specific SkEventSink object. If it is found, -- cgit v1.2.3