Skip to content

Commit 970d45d

Browse files
author
Wangsong Jin
committed
Update FrameProcessInfo.md
1 parent 0983948 commit 970d45d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

specs/FrameProcesssInfo.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ void ProcessComponent::ShowRendererProcessFrameInfo()
141141
}
142142
}
143143

144-
// Get the parent main frameInfo.
144+
// Get the ancestor main frameInfo.
145145
// Return itself if it's a main frame.
146146
wil::com_ptr<ICoreWebView2FrameInfo> ProcessComponent::GetAncestorMainFrameInfo(
147147
wil::com_ptr<ICoreWebView2FrameInfo> frameInfo)
@@ -157,7 +157,7 @@ wil::com_ptr<ICoreWebView2FrameInfo> ProcessComponent::GetAncestorMainFrameInfo(
157157
return mainFrameInfo;
158158
}
159159

160-
// Get the parent first level frameInfo.
160+
// Get the ancestor first level frameInfo.
161161
// Return itself if it's a first level frame.
162162
wil::com_ptr<ICoreWebView2FrameInfo> ProcessComponent::GetAncestorFirstLevelFrameInfo(
163163
wil::com_ptr<ICoreWebView2FrameInfo> frameInfo)
@@ -233,8 +233,8 @@ void ProcessComponent::AppendFrameInfo(
233233
result.append(L"\"");
234234
}
235235

236-
// Append the frameInfo's parent main frame(webview)'s ID and
237-
// parent first level frame's ID if it exists.
236+
// Append the frameInfo's ancestor main frame(webview)'s ID and
237+
// ancestor first level frame's ID if it exists.
238238
void ProcessComponent::AppendAncestorFrameInfo(
239239
wil::com_ptr<ICoreWebView2FrameInfo> frameInfo, std::wstring& result)
240240
{

0 commit comments

Comments
 (0)