Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Unified Diff: components/ui_devtools/string_util.h

Issue 2899783002: Move DevTools out of ash and turn it to a component. (Closed)
Patch Set: Address nits. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..7e9f2957d487dc6971124c1ccd7c3cf180a82d50 100644
--- a/components/ui_devtools/string_util.h
+++ b/components/ui_devtools/string_util.h
@@ -28,9 +28,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_; }
};

Powered by Google App Engine
This is Rietveld 408576698