summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/plugin_instance.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/plugins/plugin_instance.cc')
-rw-r--r--webkit/glue/plugins/plugin_instance.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/glue/plugins/plugin_instance.cc b/webkit/glue/plugins/plugin_instance.cc
index 3cfae8b..8506623 100644
--- a/webkit/glue/plugins/plugin_instance.cc
+++ b/webkit/glue/plugins/plugin_instance.cc
@@ -263,7 +263,7 @@ int PluginInstance::NPP_WriteReady(NPStream *stream) {
if (npp_functions_->writeready != 0) {
return npp_functions_->writeready(npp_, stream);
}
- return NULL;
+ return 0;
}
int PluginInstance::NPP_Write(NPStream *stream,
@@ -275,7 +275,7 @@ int PluginInstance::NPP_Write(NPStream *stream,
if (npp_functions_->write != 0) {
return npp_functions_->write(npp_, stream, offset, len, buffer);
}
- return NULL;
+ return 0;
}
void PluginInstance::NPP_StreamAsFile(NPStream *stream, const char *fname) {