| Index: third_party/WebKit/Source/core/dom/NodeRareData.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/NodeRareData.cpp b/third_party/WebKit/Source/core/dom/NodeRareData.cpp
|
| index 9343fd3faf879ee696eb192dc2b9642bfe479e01..1bedf95d67d51bf0347afa55fd2f148425fc2eb6 100644
|
| --- a/third_party/WebKit/Source/core/dom/NodeRareData.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/NodeRareData.cpp
|
| @@ -33,7 +33,7 @@
|
| #include "bindings/core/v8/ScriptWrappableVisitor.h"
|
| #include "core/dom/Element.h"
|
| #include "core/dom/ElementRareData.h"
|
| -#include "core/frame/FrameHost.h"
|
| +#include "core/page/Page.h"
|
| #include "platform/heap/Handle.h"
|
|
|
| namespace blink {
|
| @@ -85,12 +85,12 @@ void NodeRareData::finalizeGarbageCollectedObject() {
|
| }
|
|
|
| void NodeRareData::incrementConnectedSubframeCount() {
|
| - SECURITY_CHECK((m_connectedFrameCount + 1) <= FrameHost::maxNumberOfFrames);
|
| + SECURITY_CHECK((m_connectedFrameCount + 1) <= Page::maxNumberOfFrames);
|
| ++m_connectedFrameCount;
|
| }
|
|
|
| // Ensure the 10 bits reserved for the m_connectedFrameCount cannot overflow
|
| -static_assert(FrameHost::maxNumberOfFrames <
|
| +static_assert(Page::maxNumberOfFrames <
|
| (1 << NodeRareData::ConnectedFrameCountBits),
|
| "Frame limit should fit in rare data count");
|
|
|
|
|