Index: shell/url_response_disk_cache_loader.cc |
diff --git a/shell/url_response_disk_cache_loader.cc b/shell/url_response_disk_cache_loader.cc |
index e9629ff8938947a91de6fe203d80c6474190f4dc..2fe3892ca23a3187f2dbc81d675161116f44027f 100644 |
--- a/shell/url_response_disk_cache_loader.cc |
+++ b/shell/url_response_disk_cache_loader.cc |
@@ -9,17 +9,15 @@ namespace shell { |
URLResponseDiskCacheLoader::URLResponseDiskCacheLoader( |
scoped_refptr<base::TaskRunner> task_runner, |
mojo::URLResponseDiskCacheDelegate* delegate) |
- : url_response_disk_cache_(task_runner, delegate) {} |
+ : url_response_disk_cache_app_(task_runner, delegate) {} |
-URLResponseDiskCacheLoader::~URLResponseDiskCacheLoader() { |
-} |
+URLResponseDiskCacheLoader::~URLResponseDiskCacheLoader() {} |
void URLResponseDiskCacheLoader::Load( |
const GURL& url, |
mojo::InterfaceRequest<mojo::Application> application_request) { |
DCHECK(application_request.is_pending()); |
- application_.reset(new mojo::ApplicationImpl(&url_response_disk_cache_, |
- application_request.Pass())); |
+ url_response_disk_cache_app_.Bind(application_request.Pass()); |
} |
} // namespace shell |