chore: remove use of banned absl::optional (#44550)

Xref: https://chromium-review.googlesource.com/c/chromium/src/+/5805666

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
trop[bot] 2024-11-04 16:40:56 -05:00 committed by GitHub
parent 3f3874cb18
commit 5885a52d17
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1668,7 +1668,7 @@ ElectronBrowserClient::CreateURLLoaderThrottles(
const base::RepeatingCallback<content::WebContents*()>& wc_getter, const base::RepeatingCallback<content::WebContents*()>& wc_getter,
content::NavigationUIData* navigation_ui_data, content::NavigationUIData* navigation_ui_data,
content::FrameTreeNodeId frame_tree_node_id, content::FrameTreeNodeId frame_tree_node_id,
absl::optional<int64_t> navigation_id) { std::optional<int64_t> navigation_id) {
DCHECK_CURRENTLY_ON(BrowserThread::UI); DCHECK_CURRENTLY_ON(BrowserThread::UI);
std::vector<std::unique_ptr<blink::URLLoaderThrottle>> result; std::vector<std::unique_ptr<blink::URLLoaderThrottle>> result;