Index: webkit/browser/blob/blob_url_request_job_factory.cc |
diff --git a/webkit/browser/blob/blob_url_request_job_factory.cc b/webkit/browser/blob/blob_url_request_job_factory.cc |
index 6f4f70fa82d3ff0a69057bd00d1664127fa18da3..ed0a400e2ff78a6c6a047cfa07acebcc7040d240 100644 |
--- a/webkit/browser/blob/blob_url_request_job_factory.cc |
+++ b/webkit/browser/blob/blob_url_request_job_factory.cc |
@@ -74,13 +74,6 @@ BlobProtocolHandler::LookupBlobData(net::URLRequest* request) const { |
if (!context_.get()) |
return NULL; |
- // Retain support for looking up based on deprecated blob urls for now. |
- // The FeedbackExtensionAPI relies on this. |
- scoped_ptr<BlobDataHandle> handle = context_->GetBlobDataFromUUID( |
- context_->LookupUuidFromDeprecatedURL(request->url())); |
- if (handle) |
- return handle->data(); |
- |
// Support looking up based on uuid, the FeedbackExtensionAPI relies on this. |
// TODO(michaeln): Replace this use case and others like it with a BlobReader |
// impl that does not depend on urlfetching to perform this function. |
@@ -88,7 +81,7 @@ BlobProtocolHandler::LookupBlobData(net::URLRequest* request) const { |
if (!StartsWithASCII(request->url().spec(), kPrefix, true)) |
return NULL; |
std::string uuid = request->url().spec().substr(kPrefix.length()); |
- handle = context_->GetBlobDataFromUUID(uuid); |
+ scoped_ptr<BlobDataHandle> handle = context_->GetBlobDataFromUUID(uuid); |
return handle.get() ? handle->data() : NULL; |
} |