From 64593525debc63339e1bf9ddb8a0e998f7d976a3 Mon Sep 17 00:00:00 2001 From: mtklein Date: Thu, 12 Nov 2015 10:41:05 -0800 Subject: Replace SkFunction with std::function TBR=reed@google.com No public API changes. Review URL: https://codereview.chromium.org/1441753002 --- include/views/SkOSWindow_Win.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/views') diff --git a/include/views/SkOSWindow_Win.h b/include/views/SkOSWindow_Win.h index b65d4c29df..c1a68c621e 100644 --- a/include/views/SkOSWindow_Win.h +++ b/include/views/SkOSWindow_Win.h @@ -10,9 +10,9 @@ #ifndef SkOSWindow_Win_DEFINED #define SkOSWindow_Win_DEFINED -#include "../private/SkFunction.h" #include "../private/SkTHash.h" #include "SkWindow.h" +#include #if SK_ANGLE #include "EGL/egl.h" @@ -71,9 +71,9 @@ public: return *win; } - // Iterates SkFunction over all the SkOSWindows and their corresponding HWNDs. - // The void* argument to the SkFunction is a HWND. - static void ForAllWindows(const SkFunction& f) { + // Iterates f over all the SkOSWindows and their corresponding HWNDs. + // The void* argument to f is a HWND. + static void ForAllWindows(const std::function& f) { gHwndToOSWindowMap.foreach(f); } -- cgit v1.2.3