| Index: third_party/WebKit/Source/platform/v8_inspector/V8Regex.cpp
|
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8Regex.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8Regex.cpp
|
| index 3a83f53add7660b01ce7a5cdec2e068e6326b016..32053d4b774483ce06234e3116d4e5034b3af71b 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/V8Regex.cpp
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/V8Regex.cpp
|
| @@ -35,7 +35,7 @@ int V8Regex::match(const String16& string, int startFrom, int* matchLength) cons
|
| if (matchLength)
|
| *matchLength = 0;
|
|
|
| - if (m_regex.IsEmpty() || string.isNull())
|
| + if (m_regex.IsEmpty() || string.isEmpty())
|
| return -1;
|
|
|
| // v8 strings are limited to int.
|
|
|