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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorInputAgent.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/core/inspector/InspectorInputAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp
index 1d2b45ee1406a0a970ade46e48b8cab436c382fe..0b52975a5195dfd032afaa4241beb4499b8839d3 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp
@@ -128,7 +128,7 @@ void InspectorInputAgent::dispatchTouchEvent(ErrorString* error, const String& t
} else if (type == "touchMove") {
convertedType = PlatformEvent::TouchMove;
} else {
- *error = "Unrecognized type: " + type;
+ *error = String("Unrecognized type: " + type);
return;
}
@@ -171,7 +171,7 @@ void InspectorInputAgent::dispatchTouchEvent(ErrorString* error, const String& t
} else if (state == "touchCancelled") {
convertedState = PlatformTouchPoint::TouchCancelled;
} else {
- *error = "Unrecognized state: " + state;
+ *error = String("Unrecognized state: " + state);
return;
}

Powered by Google App Engine
This is Rietveld 408576698