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 /app | |
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 'app')
-rw-r--r-- | app/win_util.cc | 3 | ||||
-rw-r--r-- | app/win_util.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/win_util.cc b/app/win_util.cc index 31137e9..27a8235 100644 --- a/app/win_util.cc +++ b/app/win_util.cc @@ -21,6 +21,7 @@ #include "base/string_util.h" #include "base/win_util.h" #include "base/win/scoped_gdi_object.h" +#include "base/win/scoped_hdc.h" #include "gfx/codec/png_codec.h" #include "gfx/gdi_util.h" @@ -184,7 +185,7 @@ void GrabWindowSnapshot(HWND window_handle, std::vector<unsigned char>* png_representation) { // Create a memory DC that's compatible with the window. HDC window_hdc = GetWindowDC(window_handle); - ScopedHDC mem_hdc(CreateCompatibleDC(window_hdc)); + base::win::ScopedHDC mem_hdc(CreateCompatibleDC(window_hdc)); // Create a DIB that's the same size as the window. RECT content_rect = {0, 0, 0, 0}; diff --git a/app/win_util.h b/app/win_util.h index 4f98e63..2fcd86b 100644 --- a/app/win_util.h +++ b/app/win_util.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -23,7 +23,6 @@ namespace win_util { // Import ScopedHandle and friends into this namespace for backwards // compatibility. TODO(darin): clean this up! using ::ScopedHandle; -using ::ScopedHDC; using ::ScopedBitmap; // Simple scoped memory releaser class for COM allocated memory. |