From 0142bd4f74b04cf27929e5288be100c09cff224d Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Fri, 31 Dec 2010 01:02:47 +0000 Subject: 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 --- chrome/browser/aeropeek_manager.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'chrome/browser/aeropeek_manager.cc') diff --git a/chrome/browser/aeropeek_manager.cc b/chrome/browser/aeropeek_manager.cc index 5281f8d..21d889d 100644 --- a/chrome/browser/aeropeek_manager.cc +++ b/chrome/browser/aeropeek_manager.cc @@ -16,6 +16,7 @@ #include "base/scoped_native_library.h" #include "base/waitable_event.h" #include "base/win/scoped_gdi_object.h" +#include "base/win/scoped_hdc.h" #include "base/win/windows_version.h" #include "chrome/browser/app_icon_win.h" #include "chrome/browser/browser_list.h" @@ -340,7 +341,7 @@ class SendThumbnailTask : public Task { // Create a DIB, copy the resized image, and send the DIB to Windows. // We can delete this DIB after sending it to Windows since Windows creates // a copy of the DIB and use it. - ScopedHDC hdc(CreateCompatibleDC(NULL)); + base::win::ScopedHDC hdc(CreateCompatibleDC(NULL)); if (!hdc.Get()) { LOG(ERROR) << "cannot create a memory DC: " << GetLastError(); return; @@ -454,7 +455,7 @@ class SendLivePreviewTask : public Task { // tab image into the DIB, and send it to Windows. // We don't need to paste this tab image onto the frame image since Windows // automatically pastes it for us. - ScopedHDC hdc(CreateCompatibleDC(NULL)); + base::win::ScopedHDC hdc(CreateCompatibleDC(NULL)); if (!hdc.Get()) { LOG(ERROR) << "cannot create a memory DC: " << GetLastError(); return; -- cgit v1.1