| Index: cloud_print/gcp20/prototype/printer_state.cc
|
| ===================================================================
|
| --- cloud_print/gcp20/prototype/printer_state.cc (revision 245415)
|
| +++ cloud_print/gcp20/prototype/printer_state.cc (working copy)
|
| @@ -8,7 +8,7 @@
|
| #include "base/json/json_reader.h"
|
| #include "base/json/json_writer.h"
|
| #include "base/logging.h"
|
| -#include "base/safe_numerics.h"
|
| +#include "base/numerics/safe_conversions.h"
|
| #include "base/values.h"
|
|
|
| namespace {
|
| @@ -74,7 +74,7 @@
|
| base::JSONWriter::WriteWithOptions(&json,
|
| base::JSONWriter::OPTIONS_PRETTY_PRINT,
|
| &json_str);
|
| - int size = base::checked_numeric_cast<int>(json_str.size());
|
| + int size = base::checked_cast<int>(json_str.size());
|
| return (file_util::WriteFile(path, json_str.data(), size) == size);
|
| }
|
|
|
|
|