| Index: Source/core/inspector/ScriptArguments.cpp
|
| diff --git a/Source/core/inspector/ScriptArguments.cpp b/Source/core/inspector/ScriptArguments.cpp
|
| index ba3ba7bd05f4b4bf78f7d49e407412e49407b13e..c126dc7b79fe4624fb65874350ff9de6828a2f01 100644
|
| --- a/Source/core/inspector/ScriptArguments.cpp
|
| +++ b/Source/core/inspector/ScriptArguments.cpp
|
| @@ -181,16 +181,13 @@ const ScriptValue &ScriptArguments::argumentAt(size_t index) const
|
| return m_arguments[index];
|
| }
|
|
|
| -bool ScriptArguments::getFirstArgumentAsString(String& result, bool checkForNullOrUndefined)
|
| +bool ScriptArguments::getFirstArgumentAsString(String& result) const
|
| {
|
| if (!argumentCount())
|
| return false;
|
|
|
| const ScriptValue& value = argumentAt(0);
|
| ScriptState::Scope scope(m_scriptState.get());
|
| - if (checkForNullOrUndefined && (value.isNull() || value.isUndefined()))
|
| - return false;
|
| -
|
| result = V8ValueStringBuilder::toString(value.v8Value(), value.isolate());
|
| return true;
|
| }
|
|
|