diff options
Diffstat (limited to 'webkit/glue/resource_fetcher.cc')
-rw-r--r-- | webkit/glue/resource_fetcher.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/webkit/glue/resource_fetcher.cc b/webkit/glue/resource_fetcher.cc index 186092b..9b00805 100644 --- a/webkit/glue/resource_fetcher.cc +++ b/webkit/glue/resource_fetcher.cc @@ -88,7 +88,8 @@ void ResourceFetcher::didReceiveCachedMetadata( metadata_.assign(data, data_length); } -void ResourceFetcher::didFinishLoading(WebURLLoader* loader) { +void ResourceFetcher::didFinishLoading( + WebURLLoader* loader, double finishTime) { DCHECK(!completed_); completed_ = true; @@ -119,6 +120,9 @@ ResourceFetcherWithTimeout::ResourceFetcherWithTimeout( &ResourceFetcherWithTimeout::TimeoutFired); } +ResourceFetcherWithTimeout::~ResourceFetcherWithTimeout() { +} + void ResourceFetcherWithTimeout::TimeoutFired() { if (!completed_) { loader_->cancel(); |