| Index: third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp
|
| index 9aaebf4c7cfc65c1f309d1b527187eb9c5ab9933..0efebb766aca2cd98e06e3f806719037c619870d 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp
|
| @@ -33,7 +33,6 @@
|
| #include "core/layout/api/LayoutPartItem.h"
|
| #include "core/loader/FrameLoadRequest.h"
|
| #include "core/loader/FrameLoader.h"
|
| -#include "core/page/Page.h"
|
| #include "core/plugins/PluginView.h"
|
| #include "platform/weborigin/SecurityOrigin.h"
|
|
|
| @@ -313,7 +312,8 @@
|
| if (!SubframeLoadingDisabler::canLoadFrame(*this))
|
| return false;
|
|
|
| - if (document().frame()->host()->subframeCount() >= Page::maxNumberOfFrames)
|
| + if (document().frame()->host()->subframeCount() >=
|
| + FrameHost::maxNumberOfFrames)
|
| return false;
|
|
|
| FrameLoadRequest frameLoadRequest(&document(), url, "_self",
|
|
|