Index: src/views/win/SkOSWindow_win.cpp |
diff --git a/src/views/win/SkOSWindow_win.cpp b/src/views/win/SkOSWindow_win.cpp |
index 1b47dea3298d9f3ffd641cbd2e19f57f9fd13bcf..447a5af6cc8cdfd54d1b4e019cd58abfb5f534f5 100644 |
--- a/src/views/win/SkOSWindow_win.cpp |
+++ b/src/views/win/SkOSWindow_win.cpp |
@@ -60,7 +60,7 @@ SkOSWindow::SkOSWindow(void* hWnd) { |
SkOSWindow::~SkOSWindow() { |
#if SK_SUPPORT_GPU |
- if (NULL != fHGLRC) { |
+ if (fHGLRC) { |
wglDeleteContext((HGLRC)fHGLRC); |
} |
#if SK_ANGLE |