diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-03 22:03:40 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-03 22:03:40 +0000 |
commit | ab0c8dfe3950f3ebefa01fa6e3bf5253d25cc5c7 (patch) | |
tree | b929a0c67909f185370cada9a715f90289b47391 /app | |
parent | a54f4ed0aca50c9306271c012925d8bdee71df4f (diff) | |
download | chromium_src-ab0c8dfe3950f3ebefa01fa6e3bf5253d25cc5c7.zip chromium_src-ab0c8dfe3950f3ebefa01fa6e3bf5253d25cc5c7.tar.gz chromium_src-ab0c8dfe3950f3ebefa01fa6e3bf5253d25cc5c7.tar.bz2 |
Remove 'using' declaration of ScopedBitmap from scoped_handle_win.h
BUG=None
TEST=trybots
Review URL: http://codereview.chromium.org/6013010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70400 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app')
-rw-r--r-- | app/win/win_util.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/app/win/win_util.cc b/app/win/win_util.cc index f1ac107..116b89f 100644 --- a/app/win/win_util.cc +++ b/app/win/win_util.cc @@ -209,11 +209,12 @@ void GrabWindowSnapshot(HWND window_handle, BITMAPINFOHEADER hdr; gfx::CreateBitmapHeader(width, height, &hdr); unsigned char *bit_ptr = NULL; - ScopedBitmap bitmap(CreateDIBSection(mem_hdc, - reinterpret_cast<BITMAPINFO*>(&hdr), - DIB_RGB_COLORS, - reinterpret_cast<void **>(&bit_ptr), - NULL, 0)); + base::win::ScopedBitmap bitmap( + CreateDIBSection(mem_hdc, + reinterpret_cast<BITMAPINFO*>(&hdr), + DIB_RGB_COLORS, + reinterpret_cast<void **>(&bit_ptr), + NULL, 0)); SelectObject(mem_hdc, bitmap); // Clear the bitmap to white (so that rounded corners on windows |