Skip to content

Commit b7cefad

Browse files
authored
Update Freeze.md
1 parent ac47c7e commit b7cefad

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

specs/Freeze.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ void ViewComponent::Resume()
7878
```
7979
8080
# Remarks
81-
The CoreWebView2Controller must be invisible when the API is called. Otherwise, the
81+
The CoreWebView2Controller's IsVisible property must be false when the API is called. Otherwise, the
8282
API fails with `HRESULT_FROM_WIN32(ERROR_INVALID_STATE)`.
8383
Suspending is similar to putting a tab to sleep in the Edge browser. Suspending pauses
8484
WebView script timers and animations, minimizes CPU usage for the associated
@@ -112,8 +112,8 @@ interface ICoreWebView2_2 : ICoreWebView2 {
112112
/// This is useful when a Win32 app becomes invisible, or when a Universal Windows
113113
/// Platform app is being suspended, during the suspended event handler before completing
114114
/// the suspended event.
115-
/// The CoreWebView2Controller must be invisible when the API is called. Otherwise, the
116-
/// API fails with `HRESULT_FROM_WIN32(ERROR_INVALID_STATE)`.
115+
/// The CoreWebView2Controller's IsVisible property must be false when the API is called.
116+
/// Otherwise, the API fails with `HRESULT_FROM_WIN32(ERROR_INVALID_STATE)`.
117117
/// Suspending is similar to putting a tab to sleep in the Edge browser. Suspending pauses
118118
/// WebView script timers and animations, minimizes CPU usage for the associated
119119
/// browser renderer process and allows the operating system to reuse the memory that was

0 commit comments

Comments
 (0)