| Index: ui/base/range/range.cc
|
| ===================================================================
|
| --- ui/base/range/range.cc (revision 137657)
|
| +++ ui/base/range/range.cc (working copy)
|
| @@ -5,9 +5,10 @@
|
| #include "ui/base/range/range.h"
|
|
|
| #include <limits>
|
| -#include <ostream>
|
|
|
| +#include "base/format_macros.h"
|
| #include "base/logging.h"
|
| +#include "base/stringprintf.h"
|
|
|
| namespace ui {
|
|
|
| @@ -75,8 +76,8 @@
|
| return Range(min, max);
|
| }
|
|
|
| -std::ostream& operator<<(std::ostream& out, const ui::Range& range) {
|
| - return out << "{" << range.start() << "," << range.end() << "}";
|
| +std::string Range::ToString() const {
|
| + return base::StringPrintf("{%" PRIuS ",%" PRIuS "}", start(), end());
|
| }
|
|
|
| } // namespace gfx
|
|
|