summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorjschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-31 04:26:30 +0000
committerjschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-31 04:26:30 +0000
commit262190ffe9b66472c12b1a4b3de2d4dfabb21bf3 (patch)
treef11e3295ae4f6b44393a500bf94dbb44b94de6c7 /webkit
parent12f038a8679f11a4f3000dfa7c14032f4053e0f7 (diff)
downloadchromium_src-262190ffe9b66472c12b1a4b3de2d4dfabb21bf3.zip
chromium_src-262190ffe9b66472c12b1a4b3de2d4dfabb21bf3.tar.gz
chromium_src-262190ffe9b66472c12b1a4b3de2d4dfabb21bf3.tar.bz2
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
Diffstat (limited to 'webkit')
-rw-r--r--webkit/plugins/npapi/webplugin_delegate_impl_win.cc2
1 files changed, 1 insertions, 1 deletions
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<LONG>(DefWindowProcA));
+ windowed_handle_, GWLP_WNDPROC, reinterpret_cast<LONG>(DefWindowProcA));
return true;
}