Index: chrome/common/automation_messages.cc |
diff --git a/chrome/common/automation_messages.cc b/chrome/common/automation_messages.cc |
index 1e21812ce6390fea01d3bee590d533685f76a44b..2d266c3babce8b1e70456b165048ce8048e97363 100644 |
--- a/chrome/common/automation_messages.cc |
+++ b/chrome/common/automation_messages.cc |
@@ -194,7 +194,7 @@ struct ParamTraits<net::UploadElement> { |
void ParamTraits<scoped_refptr<net::UploadData> >::Write(Message* m, |
const param_type& p) { |
WriteParam(m, p.get() != NULL); |
- if (p) { |
+ if (p.get()) { |
WriteParam(m, p->elements()); |
WriteParam(m, p->identifier()); |
WriteParam(m, p->is_chunked()); |