Chromium Code Reviews| 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..728c4dfb4c4aa4b136af5f9281e26ee246cd8a8f 100644 |
| --- a/chrome/test/webdriver/commands/command.cc |
| +++ b/chrome/test/webdriver/commands/command.cc |
| @@ -41,7 +41,7 @@ bool Command::IsNullParameter(const std::string& key) const { |
| Value* value; |
| return parameters_.get() && |
| parameters_->Get(key, &value) && |
| - value->IsType(Value::TYPE_NULL); |
| + value->IsNull(); |
|
tony
2011/08/19 17:24:21
Nit: Maybe we can fit this on 2 lines? Also, the
tfarina
2011/08/19 18:40:47
Done.
|
| } |
| bool Command::GetStringParameter(const std::string& key, |