Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Unified Diff: webkit/plugins/npapi/webplugin_impl.cc

Issue 8349009: Support playback & seeking in media files over 2G. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/multipart_response_delegate_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/webplugin_impl.cc
diff --git a/webkit/plugins/npapi/webplugin_impl.cc b/webkit/plugins/npapi/webplugin_impl.cc
index be988e77db77290e43503422e1a9491edc5e01d5..02038724d6dcb3457bdf0e38f47d47b23f672949 100644
--- a/webkit/plugins/npapi/webplugin_impl.cc
+++ b/webkit/plugins/npapi/webplugin_impl.cc
@@ -115,7 +115,7 @@ class MultiPartResponseClient : public WebURLLoaderClient {
// response.
virtual void didReceiveResponse(
WebURLLoader*, const WebURLResponse& response) {
- int instance_size;
+ int64 instance_size;
if (!MultipartResponseDelegate::ReadContentRanges(
response,
&byte_range_lower_bound_,
@@ -153,9 +153,9 @@ class MultiPartResponseClient : public WebURLLoaderClient {
private:
WebURLResponse resource_response_;
// The lower bound of the byte range.
- int byte_range_lower_bound_;
+ int64 byte_range_lower_bound_;
// The upper bound of the byte range.
- int byte_range_upper_bound_;
+ int64 byte_range_upper_bound_;
// The handler for the data.
WebPluginResourceClient* resource_client_;
};
« no previous file with comments | « webkit/glue/multipart_response_delegate_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698