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

Unified Diff: chrome/service/cloud_print/cdd_conversion_win.cc

Issue 606473002: Remove implicit HANDLE conversions from chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove spurious file and fix indent (+rebase) Created 6 years, 3 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
« no previous file with comments | « chrome/installer/util/user_experiment.cc ('k') | chrome/service/cloud_print/print_system_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/cloud_print/cdd_conversion_win.cc
diff --git a/chrome/service/cloud_print/cdd_conversion_win.cc b/chrome/service/cloud_print/cdd_conversion_win.cc
index 4ab9c46e52b7a094a1141f98ae74da71a6b39456..04abd244431042363490736a4ef9bd548e14c2b3 100644
--- a/chrome/service/cloud_print/cdd_conversion_win.cc
+++ b/chrome/service/cloud_print/cdd_conversion_win.cc
@@ -33,9 +33,10 @@ scoped_ptr<DEVMODE, base::FreeDeleter> CjtToDevMode(
ColorTicketItem color;
if (color.LoadFrom(description)) {
bool is_color = color.value().type == STANDARD_COLOR;
- dev_mode = CreateDevModeWithColor(printer, printer_name, is_color);
+ dev_mode = printing::CreateDevModeWithColor(printer.Get(), printer_name,
+ is_color);
} else {
- dev_mode = printing::CreateDevMode(printer, NULL);
+ dev_mode = printing::CreateDevMode(printer.Get(), NULL);
}
}
@@ -124,7 +125,7 @@ scoped_ptr<DEVMODE, base::FreeDeleter> CjtToDevMode(
}
}
- return printing::CreateDevMode(printer, dev_mode.get());
+ return printing::CreateDevMode(printer.Get(), dev_mode.get());
}
} // namespace cloud_print
« no previous file with comments | « chrome/installer/util/user_experiment.cc ('k') | chrome/service/cloud_print/print_system_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698