Index: webkit/glue/plugins/plugin_instance.cc |
=================================================================== |
--- webkit/glue/plugins/plugin_instance.cc (revision 30678) |
+++ webkit/glue/plugins/plugin_instance.cc (working copy) |
@@ -207,8 +207,7 @@ |
DCHECK(npp_functions_ != 0); |
DCHECK(npp_functions_->destroystream != 0); |
- if (stream == NULL || (stream->ndata == NULL) || |
- !IsValidStream(stream)) |
+ if (stream == NULL || !IsValidStream(stream) || (stream->ndata == NULL)) |
return NPERR_INVALID_INSTANCE_ERROR; |
if (npp_functions_->destroystream != 0) { |