summaryrefslogtreecommitdiffstats
path: root/chrome/service/cloud_print/print_system_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/service/cloud_print/print_system_win.cc')
-rw-r--r--chrome/service/cloud_print/print_system_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/service/cloud_print/print_system_win.cc b/chrome/service/cloud_print/print_system_win.cc
index fc1ab97..98a4e97 100644
--- a/chrome/service/cloud_print/print_system_win.cc
+++ b/chrome/service/cloud_print/print_system_win.cc
@@ -270,7 +270,7 @@ class JobSpoolerWin : public PrintSystem::JobSpooler {
last_page_printed_ = -1;
// We only support PDF and XPS documents for now.
if (print_data_mime_type == kContentTypePDF) {
- scoped_ptr<DEVMODE[]> dev_mode;
+ scoped_ptr<DEVMODE, base::FreeDeleter> dev_mode;
if (print_ticket_mime_type == kContentTypeJSON) {
dev_mode = CjtToDevMode(printer_wide, print_ticket);
} else {