diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-31 01:02:47 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-31 01:02:47 +0000 |
commit | 0142bd4f74b04cf27929e5288be100c09cff224d (patch) | |
tree | 930b5fbc7a4fadee2a823274e00cb47233ee9d2e /gfx | |
parent | 81516d6ea9c90491af15ee7009c449d253a89ec6 (diff) | |
download | chromium_src-0142bd4f74b04cf27929e5288be100c09cff224d.zip chromium_src-0142bd4f74b04cf27929e5288be100c09cff224d.tar.gz chromium_src-0142bd4f74b04cf27929e5288be100c09cff224d.tar.bz2 |
Remove 'using' declaration of ScopedHDC from scoped_handle_win.h
BUG=None
TEST=trybots
Review URL: http://codereview.chromium.org/6031011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70326 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gfx')
-rw-r--r-- | gfx/native_theme_win.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gfx/native_theme_win.cc b/gfx/native_theme_win.cc index 6d143c9..a363524 100644 --- a/gfx/native_theme_win.cc +++ b/gfx/native_theme_win.cc @@ -11,6 +11,7 @@ #include "base/logging.h" #include "base/scoped_handle.h" +#include "base/win/scoped_hdc.h" #include "base/win/windows_version.h" #include "gfx/gdi_util.h" #include "gfx/rect.h" @@ -189,7 +190,7 @@ HRESULT NativeTheme::PaintMenuArrow(ThemeName theme, // are needed for RTL locales on Vista. So use a memory DC and mirror // the region with GDI's StretchBlt. Rect r(*rect); - ScopedHDC mem_dc(CreateCompatibleDC(hdc)); + base::win::ScopedHDC mem_dc(CreateCompatibleDC(hdc)); ScopedBitmap mem_bitmap(CreateCompatibleBitmap(hdc, r.width(), r.height())); HGDIOBJ old_bitmap = SelectObject(mem_dc, mem_bitmap); @@ -755,7 +756,7 @@ HRESULT NativeTheme::PaintFrameControl(HDC hdc, if (mask_bitmap == NULL) return E_OUTOFMEMORY; - ScopedHDC bitmap_dc(CreateCompatibleDC(NULL)); + base::win::ScopedHDC bitmap_dc(CreateCompatibleDC(NULL)); HGDIOBJ org_bitmap = SelectObject(bitmap_dc, mask_bitmap); RECT local_rect = { 0, 0, width, height }; DrawFrameControl(bitmap_dc, &local_rect, type, state); |