Skip to content

Commit b893902

Browse files
author
Maura Winstanley
committed
update param type
1 parent f944ff7 commit b893902

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

specs/APIReview_UAString.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ m_webView->add_NavigationStarting(
3535
wil::com_ptr<ICoreWebView2Settings> settings;
3636
CHECK_FAILURE(m_webView->get_Settings(&m_settings));
3737
LPCWSTR mobile_ua =
38-
"Mozilla/5.0 (Linux; Android 8.0.0; SM-G960F Build/R16NW) "
38+
L"Mozilla/5.0 (Linux; Android 8.0.0; SM-G960F Build/R16NW) "
3939
"AppleWebKit/537.36 (KHTML, like Gecko) "
4040
"Chrome/62.0.3202.84 Mobile Safari/537.36";
4141
CHECK_FAILURE(settings->put_UserAgent(mobile_ua));
42-
LPCWSTR received_ua;
42+
LPWSTR received_ua;
4343
CHECK_FAILURE(settings->get_UserAgent(&received_ua));
4444
EXPECT_STREQ(received_ua, mobile_ua);
4545
}

0 commit comments

Comments
 (0)