Index: Source/core/frame/LocalFrame.cpp |
=================================================================== |
--- Source/core/frame/LocalFrame.cpp (revision 198700) |
+++ Source/core/frame/LocalFrame.cpp (working copy) |
@@ -693,8 +693,6 @@ |
{ |
// We allow one level of self-reference because some sites depend on that, |
// but we don't allow more than one. |
- if (host()->subframeCount() >= FrameHost::maxNumberOfFrames) |
- return false; |
bool foundSelfReference = false; |
for (const Frame* frame = this; frame; frame = frame->tree().parent()) { |
if (!frame->isLocalFrame()) |