summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/npapi/webplugin_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/plugins/npapi/webplugin_impl.cc')
-rw-r--r--webkit/plugins/npapi/webplugin_impl.cc21
1 files changed, 3 insertions, 18 deletions
diff --git a/webkit/plugins/npapi/webplugin_impl.cc b/webkit/plugins/npapi/webplugin_impl.cc
index ef48e40..80943a9 100644
--- a/webkit/plugins/npapi/webplugin_impl.cc
+++ b/webkit/plugins/npapi/webplugin_impl.cc
@@ -110,8 +110,7 @@ class MultiPartResponseClient : public WebURLLoaderClient {
}
// Receives individual part data from a multipart response.
- // FIXME(vsevik): rename once renamed in webkit
- virtual void didReceiveData2(
+ virtual void didReceiveData(
WebURLLoader*, const char* data, int data_length, int length_received) {
// TODO(ananta)
// We should defer further loads on multipart resources on the same lines
@@ -121,12 +120,6 @@ class MultiPartResponseClient : public WebURLLoaderClient {
byte_range_lower_bound_ += data_length;
}
- // FIXME(vsevik): remove once removed in webkit
- virtual void didReceiveData(
- WebURLLoader* webURLLoader, const char* data, int data_length) {
- didReceiveData2(webURLLoader, data, data_length, -1);
- }
-
virtual void didFinishLoading(WebURLLoader*, double finishTime) {}
virtual void didFail(WebURLLoader*, const WebURLError&) {}
@@ -956,18 +949,10 @@ void WebPluginImpl::didReceiveResponse(WebURLLoader* loader,
}
}
-// FIXME(vsevik): remove once removed in webkit
void WebPluginImpl::didReceiveData(WebURLLoader* loader,
const char *buffer,
- int data_length) {
- didReceiveData2(loader, buffer, data_length, -1);
-}
-
-// FIXME(vsevik): rename once renamed in webkit
-void WebPluginImpl::didReceiveData2(WebURLLoader* loader,
- const char *buffer,
- int data_length,
- int length_received) {
+ int data_length,
+ int length_received) {
WebPluginResourceClient* client = GetClientFromLoader(loader);
if (!client)
return;