| Index: chrome/default_plugin/plugin_impl_aura.cc
|
| diff --git a/chrome/default_plugin/plugin_impl_aura.cc b/chrome/default_plugin/plugin_impl_aura.cc
|
| index aabb3c79cc6898162b82a9c3f16988b568c1805a..014ed7f95c69472f5678588d8031a49afc14894d 100644
|
| --- a/chrome/default_plugin/plugin_impl_aura.cc
|
| +++ b/chrome/default_plugin/plugin_impl_aura.cc
|
| @@ -30,7 +30,7 @@ bool PluginInstallerImpl::Initialize(void* module_handle,
|
| DVLOG(1) << __FUNCTION__ << " MIME Type : " << mime_type;
|
| DCHECK(instance != NULL);
|
|
|
| - if (mime_type == NULL || strlen(mime_type) == 0) {
|
| + if (mime_type == NULL || *mime_type == '\0') {
|
| DLOG(WARNING) << __FUNCTION__ << " Invalid parameters passed in";
|
| NOTREACHED();
|
| return false;
|
|
|