| Index: third_party/WebKit/Source/platform/v8_inspector/V8InspectorSessionImpl.cpp
|
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8InspectorSessionImpl.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8InspectorSessionImpl.cpp
|
| index 814b7f91ea52c4fcb1e6c4a24fb404b888764049..c621980c1d60c281b315e5d7184fd35aaa8828ba 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/V8InspectorSessionImpl.cpp
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/V8InspectorSessionImpl.cpp
|
| @@ -24,11 +24,11 @@ namespace blink {
|
| // static
|
| bool V8InspectorSession::canDispatchMethod(const String16& method)
|
| {
|
| - return method.startWith(protocol::Runtime::Metainfo::commandPrefix)
|
| - || method.startWith(protocol::Debugger::Metainfo::commandPrefix)
|
| - || method.startWith(protocol::Profiler::Metainfo::commandPrefix)
|
| - || method.startWith(protocol::HeapProfiler::Metainfo::commandPrefix)
|
| - || method.startWith(protocol::Console::Metainfo::commandPrefix);
|
| + return protocol::string16StartsWith(method, protocol::Runtime::Metainfo::commandPrefix)
|
| + || protocol::string16StartsWith(method, protocol::Debugger::Metainfo::commandPrefix)
|
| + || protocol::string16StartsWith(method, protocol::Profiler::Metainfo::commandPrefix)
|
| + || protocol::string16StartsWith(method, protocol::HeapProfiler::Metainfo::commandPrefix)
|
| + || protocol::string16StartsWith(method, protocol::Console::Metainfo::commandPrefix);
|
| }
|
|
|
| std::unique_ptr<V8InspectorSessionImpl> V8InspectorSessionImpl::create(V8InspectorImpl* inspector, int contextGroupId, protocol::FrontendChannel* channel, const String16* state)
|
|
|