Index: webkit/media/buffered_data_source.cc |
diff --git a/webkit/media/buffered_data_source.cc b/webkit/media/buffered_data_source.cc |
index a1ea024c3a275eb5ab9fb38a91ba8968d25eca0e..2d7b8c9cfde9a7ce3d475a6a8b0500a6a32ea88b 100644 |
--- a/webkit/media/buffered_data_source.cc |
+++ b/webkit/media/buffered_data_source.cc |
@@ -9,7 +9,6 @@ |
#include "media/base/media_log.h" |
#include "net/base/net_errors.h" |
#include "webkit/media/web_data_source_factory.h" |
-#include "webkit/glue/webkit_glue.h" |
using WebKit::WebFrame; |
@@ -105,9 +104,6 @@ void BufferedDataSource::Initialize(const std::string& url, |
if (url_.SchemeIs(kDataScheme)) { |
callback.Run(media::DATASOURCE_ERROR_URL_NOT_SUPPORTED); |
return; |
- } else if (!webkit_glue::IsProtocolSupportedForMedia(url_)) { |
- callback.Run(media::PIPELINE_ERROR_NETWORK); |
- return; |
} |
DCHECK(!callback.is_null()); |