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

Unified Diff: third_party/WebKit/Source/platform/inspector_protocol/ValueConversions.cpp

Issue 1767883002: DevTools: generate string16-based handlers for v8_inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for landing 2 Created 4 years, 9 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/inspector_protocol/ValueConversions.cpp
diff --git a/third_party/WebKit/Source/platform/inspector_protocol/ValueConversions.cpp b/third_party/WebKit/Source/platform/inspector_protocol/ValueConversions.cpp
index 2d035127b5a55fe60c133adbc4605e2119ac76f8..3e61c6c8a31571918ad93e13551ede8ac75b082a 100644
--- a/third_party/WebKit/Source/platform/inspector_protocol/ValueConversions.cpp
+++ b/third_party/WebKit/Source/platform/inspector_protocol/ValueConversions.cpp
@@ -22,6 +22,11 @@ PassOwnPtr<protocol::Value> toValue(bool value)
return FundamentalValue::create(value);
}
+PassOwnPtr<protocol::Value> toValue(const String16& param)
+{
+ return StringValue::create(param);
+}
+
PassOwnPtr<protocol::Value> toValue(const String& param)
{
return StringValue::create(param);

Powered by Google App Engine
This is Rietveld 408576698