We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d35d4f6 commit e5411f9Copy full SHA for e5411f9
1 file changed
specs/Theme.md
@@ -21,10 +21,10 @@ void ViewComponent::SetTheme(COREWEBVIEW2_THEME_KIND value)
21
wil::com_ptr<ICoreWebView2_7> webView7;
22
webView7 = m_webView.try_query<ICoreWebView2_7>();
23
24
- if (ICoreWebView2_7)
+ if (webView7)
25
{
26
wil::com_ptr<ICoreWebView2Profile> profile;
27
- CHECK_FAILURE(ICoreWebView2_7->get_Profile(&profile));
+ CHECK_FAILURE(webView7->get_Profile(&profile));
28
29
auto profile2 = profile.try_query<ICoreWebView2Profile2>();
30
if (profile2)
0 commit comments