| Index: chrome/browser/ui/search/instant_loader.cc
|
| diff --git a/chrome/browser/ui/search/instant_loader.cc b/chrome/browser/ui/search/instant_loader.cc
|
| index 092c83574cad5824c63a16e24f5c62e00032043e..29f4b7401be3ed0cfe1803bb886c106c1e21c38c 100644
|
| --- a/chrome/browser/ui/search/instant_loader.cc
|
| +++ b/chrome/browser/ui/search/instant_loader.cc
|
| @@ -195,11 +195,12 @@ void InstantLoader::WebContentsFocused(content::WebContents* /* contents */) {
|
| delegate_->OnFocus();
|
| }
|
|
|
| -bool InstantLoader::CanDownload(content::RenderViewHost* /* render_view_host */,
|
| +void InstantLoader::CanDownload(content::RenderViewHost* /* render_view_host */,
|
| int /* request_id */,
|
| - const std::string& /* request_method */) {
|
| + const std::string& /* request_method */,
|
| + const base::Callback<void(bool)>& callback) {
|
| // Downloads are disabled.
|
| - return false;
|
| + callback.Run(false);
|
| }
|
|
|
| void InstantLoader::HandleMouseDown() {
|
|
|