summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
Diffstat (limited to 'webkit')
-rw-r--r--webkit/glue/plugins/plugin_instance.cc4
-rw-r--r--webkit/glue/plugins/webplugin_impl.cc4
2 files changed, 4 insertions, 4 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) {
diff --git a/webkit/glue/plugins/webplugin_impl.cc b/webkit/glue/plugins/webplugin_impl.cc
index 9ee98ed..8a0e75e 100644
--- a/webkit/glue/plugins/webplugin_impl.cc
+++ b/webkit/glue/plugins/webplugin_impl.cc
@@ -412,7 +412,7 @@ WebPluginImpl::WebPluginImpl(
WebFrame* webframe, const WebPluginParams& params,
const base::WeakPtr<WebPluginPageDelegate>& page_delegate)
: windowless_(false),
- window_(NULL),
+ window_(0),
accepts_input_events_(false),
page_delegate_(page_delegate),
webframe_(webframe),
@@ -473,7 +473,7 @@ void WebPluginImpl::SetWindow(gfx::PluginWindowHandle window) {
void WebPluginImpl::WillDestroyWindow(gfx::PluginWindowHandle window) {
DCHECK_EQ(window, window_);
- window_ = NULL;
+ window_ = 0;
if (page_delegate_)
page_delegate_->WillDestroyPluginWindow(window);
}