Chromium Code Reviews| Index: content/browser/download/download_resource_handler.cc |
| diff --git a/content/browser/download/download_resource_handler.cc b/content/browser/download/download_resource_handler.cc |
| index 388bcd1e5a9a2853f21adef2a372f92cbae8dce5..09ce5229ce7602ae7a9627e210e28144c45f09de 100644 |
| --- a/content/browser/download/download_resource_handler.cc |
| +++ b/content/browser/download/download_resource_handler.cc |
| @@ -66,7 +66,7 @@ static void StartOnUIThread( |
| info.Pass(), stream.Pass()); |
| if (!started_cb.is_null()) |
| - started_cb.Run(item, net::OK); |
| + started_cb.Run(item, item ? net::OK : net::ERR_FAILED); |
|
benjhayden
2013/05/11 17:10:09
Could item be NULL for any reason other than the R
asanka
2013/05/13 19:19:01
Done.
|
| } |
| } // namespace |