| Index: chrome/default_plugin/plugin_impl_win.cc
|
| diff --git a/chrome/default_plugin/plugin_impl_win.cc b/chrome/default_plugin/plugin_impl_win.cc
|
| index d61228b5435066ceac471f9b5881695493f8c8f4..cbf7661f7ede626a93735b209afcf4f6972345e7 100644
|
| --- a/chrome/default_plugin/plugin_impl_win.cc
|
| +++ b/chrome/default_plugin/plugin_impl_win.cc
|
| @@ -72,7 +72,7 @@ bool PluginInstallerImpl::Initialize(HINSTANCE module_handle, NPP instance,
|
| DCHECK(instance != NULL);
|
| DCHECK(module_handle != NULL);
|
|
|
| - if (mime_type == NULL || strlen(mime_type) == 0) {
|
| + if (mime_type == NULL || *mime_type == '\0') {
|
| NOTREACHED() << __FUNCTION__ << " Invalid parameters passed in";
|
| return false;
|
| }
|
|
|