Skip to content

Commit c307c32

Browse files
author
Jason Stephen
authored
Update Appearance.md
1 parent 7b5724d commit c307c32

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

specs/Appearance.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ For reference, in the screenshot below, this API is meant to expose the Overall
1414
## C++
1515

1616
```cpp
17-
wil::com_ptr<ICoreWebView2Profile> m_controller;
17+
wil::com_ptr<ICoreWebView2Profile> m_profile;
1818

1919
void ViewComponent::SetTheme(COREWEBVIEW2_THEME_KIND value)
2020
{
2121
wil::com_ptr<ICoreWebView2Profile> webViewProfile;
2222

23-
CHECK_FAILURE(m_controller->QueryInterface(IID_PPV_ARGS(&webViewProfile)));
23+
CHECK_FAILURE(m_profile->QueryInterface(IID_PPV_ARGS(&webViewProfile)));
2424
if (webViewProfile)
2525
{
2626
CHECK_FAILURE(webViewProfile->put_Theme(value));

0 commit comments

Comments
 (0)