In order to respect Win32 semantics (and appease Dr.Memory), stash the initial GDI...
commit9152f58fc51f32beb473e1198c2b118b24747057
authorsenorblanco@chromium.org <senorblanco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 4 Dec 2013 06:46:16 +0000 (4 06:46 +0000)
committersenorblanco@chromium.org <senorblanco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 4 Dec 2013 06:46:16 +0000 (4 06:46 +0000)
treec9baa9c0627864195b19d0cd5ada0e566e8e01a6
parent7f6c9d4626e3fa83cb8e13429e877bce8f213d2a
In order to respect Win32 semantics (and appease Dr.Memory), stash the initial GDI bitmap created with the DC in BitmapPlatformDevice(win), and select it back into the DC just before destruction.

BUG=110783

Review URL: https://codereview.chromium.org/100393007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238610 0039d316-1c4b-4281-b951-d872f2087c98
skia/ext/bitmap_platform_device_win.cc
skia/ext/bitmap_platform_device_win.h
tools/valgrind/drmemory/suppressions.txt