| Index: third_party/WebKit/Source/core/inspector/V8InspectorString.h
|
| diff --git a/third_party/WebKit/Source/core/inspector/V8InspectorString.h b/third_party/WebKit/Source/core/inspector/V8InspectorString.h
|
| index bb585ccf1d45255ff2e307514741b22b8eeafb7b..08bbb3c76da54f9f627f40074dd6d393d555032c 100644
|
| --- a/third_party/WebKit/Source/core/inspector/V8InspectorString.h
|
| +++ b/third_party/WebKit/Source/core/inspector/V8InspectorString.h
|
| @@ -12,6 +12,7 @@
|
| #include "platform/wtf/Assertions.h"
|
| #include "platform/wtf/text/StringBuilder.h"
|
| #include "platform/wtf/text/StringHash.h"
|
| +#include "platform/wtf/text/StringToNumber.h"
|
| #include "platform/wtf/text/StringView.h"
|
| #include "platform/wtf/text/WTFString.h"
|
| #include "v8/include/v8-inspector.h"
|
| @@ -44,6 +45,9 @@ class CORE_EXPORT StringUtil {
|
| static String fromDouble(double number) {
|
| return Decimal::FromDouble(number).ToString();
|
| }
|
| + static double toDouble(const char* s, size_t len, bool* ok) {
|
| + return WTF::CharactersToDouble(reinterpret_cast<const LChar*>(s), len, ok);
|
| + }
|
| static size_t find(const String& s, const char* needle) {
|
| return s.Find(needle);
|
| }
|
|
|