commit | c549108651b9ea4dc5f6808b89e9974fc489cd61 | [log] [tgz] |
---|---|---|
author | Jongmok Kim <[email protected]> | Wed Oct 19 09:17:59 2022 |
committer | Chromium LUCI CQ <[email protected]> | Wed Oct 19 09:17:59 2022 |
tree | 565f78fd309fea06d2ba516f5fdd829f9d36fb25 | |
parent | 40249de568923f01dc961afb952141e8968167e1 [diff] [blame] |
Remove RefCountedString::TakeString from chrome/*, chromos/*, content/* Bug: 1374216 Change-Id: I96ae14e445c8c665f1bc5ea25bf37230d5cd3458 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3962237 Auto-Submit: jongmok kim <[email protected]> Reviewed-by: Alex Moshchuk <[email protected]> Commit-Queue: Alex Ilin <[email protected]> Reviewed-by: Alex Ilin <[email protected]> Reviewed-by: Steven Bennetts <[email protected]> Cr-Commit-Position: refs/heads/main@{#1060915}
diff --git a/content/browser/renderer_host/navigation_controller_android.cc b/content/browser/renderer_host/navigation_controller_android.cc index bef70fea..f572a8f 100644 --- a/content/browser/renderer_host/navigation_controller_android.cc +++ b/content/browser/renderer_host/navigation_controller_android.cc
@@ -308,7 +308,8 @@ } #endif std::string s = data_url.spec(); - params.data_url_as_string = base::RefCountedString::TakeString(&s); + params.data_url_as_string = + base::MakeRefCounted<base::RefCountedString>(std::move(s)); } if (j_referrer_url) {