fix leak of hbitmap
use SaveDC/RestoreDC to track the original/default hbitmap in the DC. This way we can recover the actual hbitmap using GetCurrentObject, use RestoreDC to delect it and restore the original, and then delete our hbitmap and the dc. BUG=680971 Review-Url: https://codereview.chromium.org/2629913002 Cr-Commit-Position: refs/heads/master@{#443583}
Showing
Please register or sign in to comment