summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/plugin_string_stream.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/plugins/plugin_string_stream.cc')
-rw-r--r--webkit/glue/plugins/plugin_string_stream.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/plugins/plugin_string_stream.cc b/webkit/glue/plugins/plugin_string_stream.cc
index eea9a45..b1ad8d1 100644
--- a/webkit/glue/plugins/plugin_string_stream.cc
+++ b/webkit/glue/plugins/plugin_string_stream.cc
@@ -22,7 +22,7 @@ void PluginStringStream::SendToPlugin(const std::string &data,
int length = static_cast<int>(data.length());
if (Open(mime_type, std::string(), length, 0)) {
// TODO - check if it was not fully sent, and figure out a backup plan.
- int written = Write(data.c_str(), length);
+ int written = Write(data.c_str(), length, 0);
NPReason reason = written == length ? NPRES_DONE : NPRES_NETWORK_ERR;
Close(reason);
}