From 48297f72fb852bed08d4af4de23366dfae39c245 Mon Sep 17 00:00:00 2001 From: bsalomon Date: Tue, 16 Jun 2015 12:21:00 -0700 Subject: Allow skia_win.cpp to be compiled in CONSOLE or GUI mode. Make visualbench and SampleApp build in CONSOLE mode so that we can see stdout. I verified that by undoing the gyp modifications both tools will build as GUI. Review URL: https://codereview.chromium.org/1185303004 --- include/views/SkOSWindow_Win.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/views') diff --git a/include/views/SkOSWindow_Win.h b/include/views/SkOSWindow_Win.h index 7a0cb7c0fd..6018b120bc 100644 --- a/include/views/SkOSWindow_Win.h +++ b/include/views/SkOSWindow_Win.h @@ -21,8 +21,8 @@ class SkOSWindow : public SkWindow { public: struct WindowInit { - TCHAR* fClass; - HINSTANCE fInstance; + const TCHAR* fClass; + HINSTANCE fInstance; }; SkOSWindow(const void* winInit); -- cgit v1.2.3