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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/RemoteObjectId.cpp

Issue 2226863003: [DevTools] Reduce API surface of String16. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/RemoteObjectId.cpp
diff --git a/third_party/WebKit/Source/platform/v8_inspector/RemoteObjectId.cpp b/third_party/WebKit/Source/platform/v8_inspector/RemoteObjectId.cpp
index e9aaf26d51e028b04d748d6f2e607375505a041f..4ba058cbf8513c6af54b012e7829d56f831cb08f 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/RemoteObjectId.cpp
+++ b/third_party/WebKit/Source/platform/v8_inspector/RemoteObjectId.cpp
@@ -66,7 +66,7 @@ std::unique_ptr<RemoteCallFrameId> RemoteCallFrameId::parse(ErrorString* errorSt
String16 RemoteCallFrameId::serialize(int injectedScriptId, int frameOrdinal)
{
- return "{\"ordinal\":" + String16::fromInteger(frameOrdinal) + ",\"injectedScriptId\":" + String16::fromInteger(injectedScriptId) + "}";
+ return "{\"ordinal\":" + protocol::string16FromInteger(frameOrdinal) + ",\"injectedScriptId\":" + protocol::string16FromInteger(injectedScriptId) + "}";
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698