| Index: chrome/test/webdriver/commands/command.cc
|
| diff --git a/chrome/test/webdriver/commands/command.cc b/chrome/test/webdriver/commands/command.cc
|
| index 95ad878f54fed029c992e52aaa1dbb8505a671bb..7d6cb1643a09ca0f30ee7db1d181b5be1a6d98d5 100644
|
| --- a/chrome/test/webdriver/commands/command.cc
|
| +++ b/chrome/test/webdriver/commands/command.cc
|
| @@ -39,9 +39,7 @@ bool Command::HasParameter(const std::string& key) const {
|
|
|
| bool Command::IsNullParameter(const std::string& key) const {
|
| Value* value;
|
| - return parameters_.get() &&
|
| - parameters_->Get(key, &value) &&
|
| - value->IsType(Value::TYPE_NULL);
|
| + return parameters_.get() && parameters_->Get(key, &value) && value->IsNull();
|
| }
|
|
|
| bool Command::GetStringParameter(const std::string& key,
|
|
|