aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/views
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-06-16 12:21:00 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-16 12:21:00 -0700
commit48297f72fb852bed08d4af4de23366dfae39c245 (patch)
tree3a18ccab6aaec059bc1702101be969c3f3ba07a6 /include/views
parent8464a960b83e3577bfa419693b3b27dfad82c8c8 (diff)
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
Diffstat (limited to 'include/views')
-rw-r--r--include/views/SkOSWindow_Win.h4
1 files changed, 2 insertions, 2 deletions
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);