Index: third_party/inspector_protocol/lib/DispatcherBase_cpp.template |
diff --git a/third_party/inspector_protocol/lib/DispatcherBase_cpp.template b/third_party/inspector_protocol/lib/DispatcherBase_cpp.template |
index 0d4a305abe89872af970ba20b9dc8cc1da563a20..fac555363b07e2d5eb709e42c08c59fb7d2ce485 100644 |
--- a/third_party/inspector_protocol/lib/DispatcherBase_cpp.template |
+++ b/third_party/inspector_protocol/lib/DispatcherBase_cpp.template |
@@ -276,7 +276,7 @@ DispatchResponse::Status UberDispatcher::dispatch(std::unique_ptr<Value> parsedM |
return DispatchResponse::kError; |
} |
- size_t dotIndex = method.find("."); |
+ size_t dotIndex = StringUtil::find(method, "."); |
if (dotIndex == StringUtil::kNotFound) { |
if (m_fallThroughForNotFound) |
return DispatchResponse::kFallThrough; |