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

Unified Diff: printing/backend/cups_deleters.cc

Issue 2117713002: Print directly to CUPS using the IPP APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ippRead
Patch Set: lint Created 4 years, 5 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/backend/cups_deleters.cc
diff --git a/printing/backend/cups_deleters.cc b/printing/backend/cups_deleters.cc
index c37366cf093d9c7dd9fed2fa015e4d12b00854d6..5a12eccde315ce29a9be189bd4f01dbf68eac6d3 100644
--- a/printing/backend/cups_deleters.cc
+++ b/printing/backend/cups_deleters.cc
@@ -18,4 +18,8 @@ void DestInfoDeleter::operator()(cups_dinfo_t* info) const {
cupsFreeDestInfo(info);
}
+void OptionDeleter::operator()(cups_option_t* option) const {
+ cupsFreeOptions(1, option);
+}
+
} // namespace printing

Powered by Google App Engine
This is Rietveld 408576698