summaryrefslogtreecommitdiffstats
path: root/chrome/browser/aeropeek_manager.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-31 01:02:47 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-31 01:02:47 +0000
commit0142bd4f74b04cf27929e5288be100c09cff224d (patch)
tree930b5fbc7a4fadee2a823274e00cb47233ee9d2e /chrome/browser/aeropeek_manager.cc
parent81516d6ea9c90491af15ee7009c449d253a89ec6 (diff)
downloadchromium_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 'chrome/browser/aeropeek_manager.cc')
-rw-r--r--chrome/browser/aeropeek_manager.cc5
1 files changed, 3 insertions, 2 deletions
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;