Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(382)

Unified Diff: printing/emf_win_unittest.cc

Issue 8139022: Rename ScopedHDC to ScopedCreateDC (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update a comment of ScopedCreateDC Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: printing/emf_win_unittest.cc
diff --git a/printing/emf_win_unittest.cc b/printing/emf_win_unittest.cc
index c30800fbc2714e9bd94db2c5c70fd1361d7a42a7..01395a92831a7212949373d8b71a1a726a1bde6e 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;

Powered by Google App Engine
This is Rietveld 408576698