| Index: printing/printing_context_no_system_dialog.cc
|
| diff --git a/printing/printing_context_no_system_dialog.cc b/printing/printing_context_no_system_dialog.cc
|
| index 58ab76e45dbb0c84a8dbd991a824505285a2a523..3cc991c8d5c73d97b659e942bc343bc50c5dc632 100644
|
| --- a/printing/printing_context_no_system_dialog.cc
|
| +++ b/printing/printing_context_no_system_dialog.cc
|
| @@ -52,7 +52,7 @@ PrintingContext::Result PrintingContextNoSystemDialog::UseDefaultSettings() {
|
| int32_t height = 0;
|
| UErrorCode error = U_ZERO_ERROR;
|
| ulocdata_getPaperSize(app_locale_.c_str(), &height, &width, &error);
|
| - if (error != U_ZERO_ERROR) {
|
| + if (error > U_ZERO_ERROR) {
|
| // If the call failed, assume a paper size of 8.5 x 11 inches.
|
| LOG(WARNING) << "ulocdata_getPaperSize failed, using 8.5 x 11, error: "
|
| << error;
|
|
|