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 --- printing/emf_win_unittest.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'printing/emf_win_unittest.cc') 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; -- cgit v1.1