| 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;
|
| }
|
|
|
|
|