Fix an invalid memory access due to typo in win/cursor.cc.
BUG=crbug/391468 R=sergeyu@chromium.org Review URL: https://webrtc-codereview.appspot.com/19949004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6698 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
122caa51b1
commit
bac5f0fb56
@ -197,7 +197,7 @@ MouseCursor* CreateMouseCursorFromHCursor(HDC dc, HCURSOR cursor) {
|
||||
|
||||
// The XOR mask becomes the color bitmap.
|
||||
memcpy(
|
||||
image->data(), mask_plane + (width * height), image->stride() * width);
|
||||
image->data(), mask_plane + (width * height), image->stride() * height);
|
||||
}
|
||||
|
||||
// Reconstruct transparency from the mask if the color image does not has
|
||||
|
Loading…
Reference in New Issue
Block a user