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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/String16STL.h

Issue 2260233002: [DevTools] Migrate v8_inspector/public from String16 to String{View,Buffer}. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: styling Created 4 years, 4 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: third_party/WebKit/Source/platform/v8_inspector/String16STL.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/String16STL.h b/third_party/WebKit/Source/platform/v8_inspector/String16STL.h
index ffde6c72f52afd57fd979a326a38a2f7dd721b4b..0d7e06bfbfad59ef39ba1339194fb650aefe3485 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/String16STL.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/String16STL.h
@@ -42,6 +42,7 @@ public:
String16 substring(unsigned pos, unsigned len = UINT_MAX) const { return String16(m_impl.substr(pos, len)); }
size_t find(const String16& str, unsigned start = 0) const { return m_impl.find(str.m_impl, start); }
size_t reverseFind(const String16& str, unsigned start = UINT_MAX) const { return m_impl.rfind(str.m_impl, start); }
+ void swap(String16& other) { m_impl.swap(other.m_impl); }
// Convenience methods.
std::string utf8() const;

Powered by Google App Engine
This is Rietveld 408576698