From 262190ffe9b66472c12b1a4b3de2d4dfabb21bf3 Mon Sep 17 00:00:00 2001 From: "jschuh@chromium.org" Date: Thu, 31 Jan 2013 04:26:30 +0000 Subject: SetWindowLongPtrA takes a GWLP_WNDPROC Right now it's a GWL_WNDPROC, which is the same value but technically incorrect and invalid on Win64. BUG=166496 Review URL: https://codereview.chromium.org/12090079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179791 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/plugins/npapi/webplugin_delegate_impl_win.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webkit') diff --git a/webkit/plugins/npapi/webplugin_delegate_impl_win.cc b/webkit/plugins/npapi/webplugin_delegate_impl_win.cc index a3f8846..02d44ac 100644 --- a/webkit/plugins/npapi/webplugin_delegate_impl_win.cc +++ b/webkit/plugins/npapi/webplugin_delegate_impl_win.cc @@ -576,7 +576,7 @@ bool WebPluginDelegateImpl::WindowedCreatePlugin() { // Calling SetWindowLongPtrA here makes the window proc ASCII, which is // required by at least the Shockwave Director plug-in. SetWindowLongPtrA( - windowed_handle_, GWL_WNDPROC, reinterpret_cast(DefWindowProcA)); + windowed_handle_, GWLP_WNDPROC, reinterpret_cast(DefWindowProcA)); return true; } -- cgit v1.1