Skip to content

Commit 017fe1a

Browse files
fixed brace style
1 parent b526680 commit 017fe1a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

specs/IFramePermissionRequested.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ void RegisterIFramePermissionRequestedHandler()
6363
// from the top level frame.
6464
CHECK_FAILURE(webview4->add_FrameCreated(
6565
Callback<ICoreWebView2FrameCreatedEventHandler>(
66-
[this](ICoreWebView2* sender, ICoreWebView2FrameCreatedEventArgs* args) -> HRESULT {
66+
[this](ICoreWebView2* sender, ICoreWebView2FrameCreatedEventArgs* args) -> HRESULT
67+
{
6768
wil::com_ptr<ICoreWebView2Frame> webviewFrame;
6869
CHECK_FAILURE(args->get_Frame(&webviewFrame));
6970

@@ -73,7 +74,8 @@ void RegisterIFramePermissionRequestedHandler()
7374
CHECK_FAILURE(webviewFrame2->add_PermissionRequested(
7475
Callback<ICoreWebView2FramePermissionRequestedEventHandler>(
7576
[this](ICoreWebView2Frame* sender,
76-
ICoreWebView2PermissionRequestedEventArgs* args) -> HRESULT {
77+
ICoreWebView2PermissionRequestedEventArgs* args) -> HRESULT
78+
{
7779
// We avoid potential reentrancy from running a message loop
7880
// in the permission requested event handler by showing the
7981
// dialog via lambda run asynchronously outside of this event

0 commit comments

Comments
 (0)