Index: Source/core/dom/NodeRareData.cpp |
diff --git a/Source/core/dom/NodeRareData.cpp b/Source/core/dom/NodeRareData.cpp |
index c40e9bb58eb34073adff05a0e94b079778f3a4ea..d68e0916a56a00d371db24720fd33e5b65580506 100644 |
--- a/Source/core/dom/NodeRareData.cpp |
+++ b/Source/core/dom/NodeRareData.cpp |
@@ -32,7 +32,7 @@ |
#include "core/dom/NodeRareData.h" |
#include "core/dom/Element.h" |
#include "core/dom/ElementRareData.h" |
-#include "core/page/Page.h" |
+#include "core/frame/FrameHost.h" |
#include "core/rendering/RenderObject.h" |
#include "platform/heap/Handle.h" |
@@ -77,6 +77,6 @@ void NodeRareData::finalizeGarbageCollectedObject() |
} |
// Ensure the 10 bits reserved for the m_connectedFrameCount cannot overflow |
-COMPILE_ASSERT(Page::maxNumberOfFrames < (1 << NodeRareData::ConnectedFrameCountBits), Frame_limit_should_fit_in_rare_data_count); |
+COMPILE_ASSERT(FrameHost::maxNumberOfFrames < (1 << NodeRareData::ConnectedFrameCountBits), Frame_limit_should_fit_in_rare_data_count); |
dcheng
2014/09/25 23:35:43
static_assert? =)
Nate Chapin
2014/09/25 23:57:50
Done.
|
} // namespace blink |