diff options
author | yosin@chromium.org <yosin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-07 05:56:32 +0000 |
---|---|---|
committer | yosin@chromium.org <yosin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-07 05:56:32 +0000 |
commit | 83deae27106077366e8ae894798dd440e514d809 (patch) | |
tree | 1bb290bb82cd92f464975e37c3bfd1e4cac3e1e0 /printing | |
parent | 9e2a3137641bc104980e13388b6088d3f4a9b52f (diff) | |
download | chromium_src-83deae27106077366e8ae894798dd440e514d809.zip chromium_src-83deae27106077366e8ae894798dd440e514d809.tar.gz chromium_src-83deae27106077366e8ae894798dd440e514d809.tar.bz2 |
* Rename ScopedHDC to ScopedCreateDC
* Use ScopedSelectObject for changed files
BUG=99139
TEST=no user visible change
Review URL: http://codereview.chromium.org/8139022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104441 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing')
-rw-r--r-- | printing/emf_win_unittest.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/printing/emf_win_unittest.cc b/printing/emf_win_unittest.cc index c30800f..01395a9 100644 --- a/printing/emf_win_unittest.cc +++ b/printing/emf_win_unittest.cc @@ -8,6 +8,8 @@ #include <wingdi.h> #include <winspool.h> +#include <string> + #include "base/basictypes.h" #include "base/file_path.h" #include "base/file_util.h" @@ -124,7 +126,7 @@ TEST_F(EmfPrintingTest, Enumerate) { // Disabled if no "UnitTest printer" exists. TEST_F(EmfPrintingTest, PageBreak) { - base::win::ScopedHDC dc( + base::win::ScopedCreateDC dc( CreateDC(L"WINSPOOL", L"UnitTest Printer", NULL, NULL)); if (!dc.Get()) return; |