summaryrefslogtreecommitdiffstats
path: root/content/browser/download/drag_download_file.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/download/drag_download_file.cc')
-rw-r--r--content/browser/download/drag_download_file.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/download/drag_download_file.cc b/content/browser/download/drag_download_file.cc
index d87a7e0..03dad10 100644
--- a/content/browser/download/drag_download_file.cc
+++ b/content/browser/download/drag_download_file.cc
@@ -46,7 +46,7 @@ class DragDownloadFile::DragDownloadFileUI : public DownloadItem::Observer {
referrer_encoding_(referrer_encoding),
web_contents_(web_contents),
download_item_(NULL),
- ALLOW_THIS_IN_INITIALIZER_LIST(weak_ptr_factory_(this)) {
+ weak_ptr_factory_(this) {
DCHECK(on_completed_loop_);
DCHECK(!on_completed_.is_null());
DCHECK(web_contents_);
@@ -157,7 +157,7 @@ DragDownloadFile::DragDownloadFile(const base::FilePath& file_path,
drag_message_loop_(MessageLoop::current()),
state_(INITIALIZED),
drag_ui_(NULL),
- ALLOW_THIS_IN_INITIALIZER_LIST(weak_ptr_factory_(this)) {
+ weak_ptr_factory_(this) {
drag_ui_ = new DragDownloadFileUI(
url,
referrer,