Index: chrome/browser/ui/webui/downloads_dom_handler.h |
diff --git a/chrome/browser/ui/webui/downloads_dom_handler.h b/chrome/browser/ui/webui/downloads_dom_handler.h |
index 9308e2876776bd3ec0c731854f049379a17f3235..ffb76ce128a721a9d08a68514745b20bc33689e6 100644 |
--- a/chrome/browser/ui/webui/downloads_dom_handler.h |
+++ b/chrome/browser/ui/webui/downloads_dom_handler.h |
@@ -118,6 +118,10 @@ class DownloadsDOMHandler : public content::WebUIMessageHandler, |
// NULL. |
content::DownloadManager* original_profile_download_manager_; |
+ // True once the page has loaded the first time (it may load multiple times, |
+ // e.g. on reload). |
+ bool initialized_; |
+ |
// The current set of visible DownloadItems for this view received from the |
// DownloadManager. DownloadManager owns the DownloadItems. The vector is |
// kept in order, sorted by ascending start time. |