diff options
author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-26 00:46:28 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-26 00:46:28 +0000 |
commit | 0fbf0fe469cdd79468e97bd144fb4380e5dab2ef (patch) | |
tree | 4d8b4946940c373c294c392c6aa019e1dcffd162 /webkit/glue/media | |
parent | d02bfcc48337bc28193a68fdd4f1343282096812 (diff) | |
download | chromium_src-0fbf0fe469cdd79468e97bd144fb4380e5dab2ef.zip chromium_src-0fbf0fe469cdd79468e97bd144fb4380e5dab2ef.tar.gz chromium_src-0fbf0fe469cdd79468e97bd144fb4380e5dab2ef.tar.bz2 |
Logic in MediaResourceLoaderBridgeFactory was wrong
The logic outputs an extra "Not implemented" message for
a correct case, and this extra message causes some layout
tests to fail..
BUG=13907
TBR=scherkus
TEST=MediaResourceLoaderBridgeFactoryTest.*
Review URL: http://codereview.chromium.org/147184
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19323 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/media')
-rw-r--r-- | webkit/glue/media/media_resource_loader_bridge_factory.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/glue/media/media_resource_loader_bridge_factory.cc b/webkit/glue/media/media_resource_loader_bridge_factory.cc index 9f1485d..6e239a4 100644 --- a/webkit/glue/media/media_resource_loader_bridge_factory.cc +++ b/webkit/glue/media/media_resource_loader_bridge_factory.cc @@ -63,8 +63,8 @@ const std::string MediaResourceLoaderBridgeFactory::GenerateHeaders ( } } else if (first_byte_position > kPositionNotSpecified) { header = StringPrintf("Range: bytes=%lld-", first_byte_position); - } else { - NOTIMPLEMENTED() << "Operation not supported."; + } else if (last_byte_position > kPositionNotSpecified) { + NOTIMPLEMENTED() << "Suffix range not implemented"; } return header; } |