commit | 5c341f6dd1cf698d0ab71b75a2e35cdfee44323b | [log] [tgz] |
---|---|---|
author | Jeremy Roman <[email protected]> | Mon Jul 15 15:56:10 2019 |
committer | Commit Bot <[email protected]> | Mon Jul 15 15:56:10 2019 |
tree | be74f0121fce1ded97ef570b16c520d55356db7e | |
parent | fdea32ea62d234d5d8248163baf968117b12c276 [diff] [blame] |
Use in-class initializers for base::WeakPtrFactory in components/. Generated by: https://chromium-review.googlesource.com/c/chromium/src/+/1689216 Bug: 981415 Change-Id: I706ec55f1f533ef616f400791d69a51e9a151da1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1699508 Commit-Queue: Jeremy Roman <[email protected]> Reviewed-by: Colin Blundell <[email protected]> Cr-Commit-Position: refs/heads/master@{#677340}
diff --git a/components/payments/content/payment_request.cc b/components/payments/content/payment_request.cc index a1fdf9c..1ba4771 100644 --- a/components/payments/content/payment_request.cc +++ b/components/payments/content/payment_request.cc
@@ -94,8 +94,7 @@ render_frame_host->GetLastCommittedURL())), observer_for_testing_(observer_for_testing), journey_logger_(delegate_->IsIncognito(), - ukm::GetSourceIdForWebContentsDocument(web_contents)), - weak_ptr_factory_(this) { + ukm::GetSourceIdForWebContentsDocument(web_contents)) { // OnConnectionTerminated will be called when the Mojo pipe is closed. This // will happen as a result of many renderer-side events (both successful and // erroneous in nature).