| 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 d467cd884f3899d2c73f7dc58b9d523a49606811..8b27bac3d6b3595458612746122a337c21655423 100644
|
| --- a/third_party/WebKit/Source/core/inspector/V8InspectorString.h
|
| +++ b/third_party/WebKit/Source/core/inspector/V8InspectorString.h
|
| @@ -11,6 +11,7 @@
|
| #include "wtf/Assertions.h"
|
| #include "wtf/text/StringBuilder.h"
|
| #include "wtf/text/StringHash.h"
|
| +#include "wtf/text/StringToNumber.h"
|
| #include "wtf/text/StringView.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| @@ -45,6 +46,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);
|
| }
|
|
|