Skip to content

Commit 99bfd11

Browse files
authored
Update FindOnPage.md
1 parent c4988da commit 99bfd11

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

FindOnPage.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ wil::com_ptr<ICoreWebView2FindConfiguration> AppWindow::InitializeFindConfigurat
4545
CHECK_FAILURE(webView2Environment5->CreateFindConfiguration(&findConfiguration));
4646
CHECK_FAILURE(findConfiguration->put_FindTerm(findTerm.c_str()));
4747

48-
// Query for the ICoreWebView2_17 interface to access the Find feature.
49-
auto webView2_17 = m_webView.try_query<ICoreWebView2_17>();
50-
CHECK_FEATURE_RETURN(webView2_17);
51-
5248
return findConfiguration;
5349
}
5450
```

0 commit comments

Comments
 (0)