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

Unified Diff: printing/printing_context.cc

Issue 12087005: Async frame preparation for Preview with support if selection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | « printing/print_job_constants.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printing_context.cc
diff --git a/printing/printing_context.cc b/printing/printing_context.cc
index a29b31a6947dab4b9db58d7d62364ce6f5adc8c4..407e3bb4c66c1c12e34c12e072664d1dbcedd8d5 100644
--- a/printing/printing_context.cc
+++ b/printing/printing_context.cc
@@ -84,6 +84,11 @@ PrintingContext::Result PrintingContext::UpdatePrintSettings(
NOTREACHED();
}
+ if (!job_settings.GetBoolean(kSettingShouldPrintSelectionOnly,
+ &settings_.selection_only)) {
+ NOTREACHED();
+ }
+
return result;
}
« no previous file with comments | « printing/print_job_constants.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698