| Index: media/tools/shader_bench/window_win.cc
|
| ===================================================================
|
| --- media/tools/shader_bench/window_win.cc (revision 183109)
|
| +++ media/tools/shader_bench/window_win.cc (working copy)
|
| @@ -25,7 +25,7 @@
|
| break;
|
| case WM_PAINT: {
|
| Window* window =
|
| - reinterpret_cast<Window*>(GetWindowLongPtr(hwnd, GWL_USERDATA));
|
| + reinterpret_cast<Window*>(GetWindowLongPtr(hwnd, GWLP_USERDATA));
|
| if (window != NULL)
|
| window->OnPaint();
|
| ::ValidateRect(hwnd, NULL);
|
| @@ -88,7 +88,7 @@
|
| callback_ = callback;
|
| painter_ = painter;
|
|
|
| - SetWindowLongPtr(window_handle_, GWL_USERDATA,
|
| + SetWindowLongPtr(window_handle_, GWLP_USERDATA,
|
| reinterpret_cast<LONG_PTR>(this));
|
|
|
| ShowWindow(window_handle_, SW_SHOWNORMAL);
|
|
|