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 /gfx | |
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 'gfx')
-rw-r--r-- | gfx/native_theme_win.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gfx/native_theme_win.cc b/gfx/native_theme_win.cc index a363524..5f771f7 100644 --- a/gfx/native_theme_win.cc +++ b/gfx/native_theme_win.cc @@ -191,8 +191,8 @@ HRESULT NativeTheme::PaintMenuArrow(ThemeName theme, // the region with GDI's StretchBlt. Rect r(*rect); base::win::ScopedHDC mem_dc(CreateCompatibleDC(hdc)); - ScopedBitmap mem_bitmap(CreateCompatibleBitmap(hdc, r.width(), - r.height())); + base::win::ScopedBitmap mem_bitmap(CreateCompatibleBitmap(hdc, r.width(), + r.height())); HGDIOBJ old_bitmap = SelectObject(mem_dc, mem_bitmap); // Copy and horizontally mirror the background from hdc into mem_dc. Use // a negative-width source rect, starting at the rightmost pixel. @@ -751,7 +751,7 @@ HRESULT NativeTheme::PaintFrameControl(HDC hdc, const int height = rect->bottom - rect->top; // DrawFrameControl for menu arrow/check wants a monochrome bitmap. - ScopedBitmap mask_bitmap(CreateBitmap(width, height, 1, 1, NULL)); + base::win::ScopedBitmap mask_bitmap(CreateBitmap(width, height, 1, 1, NULL)); if (mask_bitmap == NULL) return E_OUTOFMEMORY; |