| Index: components/ui_devtools/string_util.h
|
| diff --git a/components/ui_devtools/string_util.h b/components/ui_devtools/string_util.h
|
| index d08b8b6f22f68474b50ba3115e63e129d4e8e7bc..8f12102f406c84b8c5b3843cb2a6fe187dccf706 100644
|
| --- a/components/ui_devtools/string_util.h
|
| +++ b/components/ui_devtools/string_util.h
|
| @@ -10,8 +10,7 @@
|
| #include "base/json/json_reader.h"
|
| #include "base/strings/string_number_conversions.h"
|
|
|
| -namespace ui {
|
| -namespace devtools {
|
| +namespace ui_devtools {
|
|
|
| using String = std::string;
|
|
|
| @@ -28,9 +27,7 @@ class CustomStringBuilder {
|
| void reserveCapacity(std::size_t size) { s_.reserve(size); }
|
| void append(const String& s) { s_ += s; }
|
| void append(char c) { s_ += c; }
|
| - void append(const char* data, unsigned int length) {
|
| - s_.append(data, length);
|
| - }
|
| + void append(const char* data, size_t length) { s_.append(data, length); }
|
| String toString() { return s_; }
|
| };
|
|
|
| @@ -76,7 +73,6 @@ class StringUtil {
|
| };
|
|
|
| } // namespace protocol
|
| -} // namespace devtools
|
| -} // namespace ui
|
| +} // namespace ui_devtools
|
|
|
| #endif // COMPONENTS_UI_DEVTOOLS_STRING_UTIL_H_
|
|
|