Chromium Code Reviews| Index: src/utils/win/SkWGL_win.cpp |
| =================================================================== |
| --- src/utils/win/SkWGL_win.cpp (revision 8271) |
| +++ src/utils/win/SkWGL_win.cpp (working copy) |
| @@ -331,7 +331,7 @@ |
| unsigned int num; |
| extensions.choosePixelFormat(dc, iAttrs, fAttrs, 1, &format, &num); |
| DescribePixelFormat(dc, format, sizeof(pfd), &pfd); |
| - BOOL set = SetPixelFormat(dc, format, &pfd); |
| + SkDEBUGCODE(BOOL set =) SetPixelFormat(dc, format, &pfd); |
| SkASSERT(TRUE == set); |
| } |