| Index: third_party/WebKit/Source/web/WebFrame.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebFrame.cpp b/third_party/WebKit/Source/web/WebFrame.cpp
|
| index d10fef69be8ea8ce939d3b5791e94c3b8f5696cc..2d42aa2d10cc6159a74dbd75d90236a4f47ace4e 100644
|
| --- a/third_party/WebKit/Source/web/WebFrame.cpp
|
| +++ b/third_party/WebKit/Source/web/WebFrame.cpp
|
| @@ -202,7 +202,7 @@ void WebFrame::insertAfter(WebFrame* newChild, WebFrame* previousSibling) {
|
| }
|
|
|
| toImplBase()->frame()->tree().invalidateScopedChildCount();
|
| - toImplBase()->frame()->host()->incrementSubframeCount();
|
| + toImplBase()->frame()->page()->incrementSubframeCount();
|
| }
|
|
|
| void WebFrame::appendChild(WebFrame* child) {
|
| @@ -227,7 +227,7 @@ void WebFrame::removeChild(WebFrame* child) {
|
| child->m_previousSibling = child->m_nextSibling = 0;
|
|
|
| toImplBase()->frame()->tree().invalidateScopedChildCount();
|
| - toImplBase()->frame()->host()->decrementSubframeCount();
|
| + toImplBase()->frame()->page()->decrementSubframeCount();
|
| }
|
|
|
| void WebFrame::setParent(WebFrame* parent) {
|
|
|