Index: printing/printing_context_mac.mm |
diff --git a/printing/printing_context_mac.mm b/printing/printing_context_mac.mm |
index 8ba4db811d283de9a459c03f1f758aed5df8db1a..3534496d3284ab42422549b62b5c5ba1b15b1187 100644 |
--- a/printing/printing_context_mac.mm |
+++ b/printing/printing_context_mac.mm |
@@ -236,9 +236,11 @@ bool PrintingContextMac::SetDuplexModeInPrintSettings(DuplexMode mode) { |
case SHORT_EDGE: |
duplexSetting = kPMDuplexTumble; |
break; |
- default: |
+ case SIMPLEX: |
duplexSetting = kPMDuplexNone; |
break; |
+ default: // UNKNOWN_DUPLEX_MODE |
+ return true; |
} |
PMPrintSettings pmPrintSettings = |