Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Unified Diff: media/tools/shader_bench/window_win.cc

Issue 12300013: Make all media tests build on Win64 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/media.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « media/media.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698