Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 242f356b9eea8de56da34dda33e12a9c8c71f8c0
https://github.com/WebKit/WebKit/commit/242f356b9eea8de56da34dda33e12a9c8c71f8c0
Author: Swati Kedia <[email protected]>
Date: 2026-07-22 (Wed, 22 Jul 2026)
Changed paths:
M Source/WebKit/UIProcess/Inspector/WebInspectorBackendProxy.cpp
Log Message:
-----------
WebInspectorBackendProxy::setEmulatedConditions fails to compile when
ENABLE_INSPECTOR_NETWORK_THROTTLING is enabled
https://bugs.webkit.org/show_bug.cgi?id=319487
Reviewed by Devin Rousso.
Move the owned std::optional<int64_t> when forwarding it to
WebInspectorUIProxy::setEmulatedConditions().
WebInspectorBackendProxy owns the std::optional by value but forwards it
to a function taking std::optional<int64_t>&&, causing compilation to
fail when ENABLE_INSPECTOR_NETWORK_THROTTLING is enabled.
Forward the optional using WTF::move().
* Source/WebKit/UIProcess/Inspector/WebInspectorBackendProxy.cpp:
(WebKit::WebInspectorBackendProxy::setEmulatedConditions):
Canonical link: https://commits.webkit.org/317701@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications