DescriptionCast pointer to uintptr_t instead of ULONG
NPEvent::lParam is defined as uintptr_t which has same width with ULONG on Win32, but they are of different sizes on WIN64. uintptr_t is 8-byte long, while ULONG is still 4-byte long, so it corrupts a 64-bit pointer if casting it to a 32-bit type.
BUG=413535
TEST=square.html (attached in the bug), http://pbskids.org/video (it uses wmode="opaque")
R=ananta@chromium.org, bauerb@chromium.org
Committed: https://crrev.com/8f3f93deca6710d7001415afb3b0822ad91708d1
Cr-Commit-Position: refs/heads/master@{#294917}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Fix incorrect comments and add myself to AUTHORS #Patch Set 3 : After rebase #Messages
Total messages: 16 (4 generated)
|