Commit 4355951f authored by Jiewei Qian's avatar Jiewei Qian Committed by Commit Bot

WebApps: fix typo in web_launch_files_helper

Change-Id: I5812b9c270706086cc14b5cdc0406188eff31170
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2009592
Auto-Submit: Jiewei Qian  <qjw@chromium.org>
Commit-Queue: Jay Harris <harrisjay@chromium.org>
Reviewed-by: default avatarJay Harris <harrisjay@chromium.org>
Cr-Commit-Position: refs/heads/master@{#733467}
parent 7173ceb1
......@@ -120,7 +120,7 @@ WebLaunchFilesHelper::WebLaunchFilesHelper(
// Asynchronously call MaybeSendLaunchEntries, since it may destroy |this|.
base::PostTask(FROM_HERE, {content::BrowserThread::UI},
base::BindOnce(&WebLaunchFilesHelper::MaybeSendLaunchEntries,
weak_ptr_factory.GetWeakPtr()));
weak_ptr_factory_.GetWeakPtr()));
}
WebLaunchFilesHelper::WebLaunchFilesHelper(
......@@ -143,7 +143,7 @@ WebLaunchFilesHelper::WebLaunchFilesHelper(
// Asynchronously call MaybeSendLaunchEntries, since it may destroy |this|.
base::PostTask(FROM_HERE, {content::BrowserThread::UI},
base::BindOnce(&WebLaunchFilesHelper::MaybeSendLaunchEntries,
weak_ptr_factory.GetWeakPtr()));
weak_ptr_factory_.GetWeakPtr()));
}
WebLaunchFilesHelper::~WebLaunchFilesHelper() = default;
......
......@@ -78,7 +78,7 @@ class WebLaunchFilesHelper
// The url the launch entries are for.
GURL launch_url_;
base::WeakPtrFactory<WebLaunchFilesHelper> weak_ptr_factory{this};
base::WeakPtrFactory<WebLaunchFilesHelper> weak_ptr_factory_{this};
DISALLOW_COPY_AND_ASSIGN(WebLaunchFilesHelper);
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment