summaryrefslogtreecommitdiffstats
path: root/printing
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 /printing
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 'printing')
-rw-r--r--printing/emf_win_unittest.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/printing/emf_win_unittest.cc b/printing/emf_win_unittest.cc
index 9238425..edef14a 100644
--- a/printing/emf_win_unittest.cc
+++ b/printing/emf_win_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 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.
@@ -15,6 +15,7 @@
#include "base/scoped_handle_win.h"
#include "base/scoped_ptr.h"
#include "base/scoped_temp_dir.h"
+#include "base/win/scoped_hdc.h"
#include "printing/printing_context.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -120,7 +121,8 @@ TEST_F(EmfPrintingTest, Enumerate) {
// Disabled if no "UnitTest printer" exists.
TEST_F(EmfPrintingTest, PageBreak) {
- ScopedHDC dc(CreateDC(L"WINSPOOL", L"UnitTest Printer", NULL, NULL));
+ base::win::ScopedHDC dc(
+ CreateDC(L"WINSPOOL", L"UnitTest Printer", NULL, NULL));
if (!dc.Get())
return;
printing::Emf emf;