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:
jiayl@webrtc.org 2014-07-15 20:32:03 +00:00
parent 122caa51b1
commit bac5f0fb56

View File

@ -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