Skip to content

Commit 9717157

Browse files
LiangTheDevoldnewthingFrankC-msft
authored
Apply suggestions from code review
Co-authored-by: Raymond Chen <oldnewthing@users.noreply.github.com> Co-authored-by: FrankC-msft <99926235+FrankC-msft@users.noreply.github.com>
1 parent 0177125 commit 9717157

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

specs/CustomStoragePartition.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ data stored in the custom storage partition.
5353
CHECK_FAILURE(m_webview->put_CustomStoragePartitionId(partitionId));
5454

5555
// Navigate to start page
56-
m_webview->Navigation(startPage);
56+
m_webview->Navigate(startPage);
5757
}
5858

5959
// Clears all data in custom storage partition identified by the partitionId.
@@ -104,7 +104,7 @@ data stored in the custom storage partition.
104104
m_webview.CustomStoragePartitionId = partitionId;
105105
106106
// Navigate to start page
107-
m_webview.Navigation(startPage);
107+
m_webview.Navigate(startPage);
108108
}
109109
110110
// Clears all data in custom storage partition identified by the partitionId.
@@ -145,7 +145,7 @@ interface ICoreWebView2_18 : ICoreWebView2_17 {
145145
/// can be used in partition id.
146146
/// The change of the custom storage partition id will be applied to new
147147
/// page or iframe navigations and not impact existing pages and iframes.
148-
/// To avoid accidentally use new partition id for pending navigations of old page
148+
/// To avoid accidentally using the new partition id for pending navigations of old page
149149
/// or iframe, it is recommended to create a new WebView for new partition instead
150150
/// of changing partition. If you really have to change partition, it is
151151
/// recommended to navigate to a blank page before setting the new partition

0 commit comments

Comments
 (0)