Skip to content

Commit e5411f9

Browse files
copy paste error
1 parent d35d4f6 commit e5411f9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

specs/Theme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ void ViewComponent::SetTheme(COREWEBVIEW2_THEME_KIND value)
2121
wil::com_ptr<ICoreWebView2_7> webView7;
2222
webView7 = m_webView.try_query<ICoreWebView2_7>();
2323

24-
if (ICoreWebView2_7)
24+
if (webView7)
2525
{
2626
wil::com_ptr<ICoreWebView2Profile> profile;
27-
CHECK_FAILURE(ICoreWebView2_7->get_Profile(&profile));
27+
CHECK_FAILURE(webView7->get_Profile(&profile));
2828

2929
auto profile2 = profile.try_query<ICoreWebView2Profile2>();
3030
if (profile2)

0 commit comments

Comments
 (0)