summaryrefslogtreecommitdiffstats
path: root/content/browser/download/drag_download_file.cc
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-30 01:10:22 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-30 01:10:22 +0000
commit69e797f6f8534d551b5e9bcb3c559fa173c23e67 (patch)
tree213e4d17f64a9d8ab6cbad99f284c07092b3fe4d /content/browser/download/drag_download_file.cc
parenta2f53dccfdc5d8ca95727030e648b6bafab6a0c9 (diff)
downloadchromium_src-69e797f6f8534d551b5e9bcb3c559fa173c23e67.zip
chromium_src-69e797f6f8534d551b5e9bcb3c559fa173c23e67.tar.gz
chromium_src-69e797f6f8534d551b5e9bcb3c559fa173c23e67.tar.bz2
content: Remove use of ALLOW_THIS_IN_INITIALIZER_LIST.
It's no longer providing value as the MSVC warning is disabled during compilation. Refer to bug for details. BUG=234765 R=jam@chromium.org Review URL: https://codereview.chromium.org/14386012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197206 0039d316-1c4b-4281-b951-d872f2087c98
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,