Index: Source/core/frame/FrameHost.h |
diff --git a/Source/core/frame/FrameHost.h b/Source/core/frame/FrameHost.h |
index efceca02ce53e65a6ac14471e20ac5baf1a29806..e4a7a36fc88aec7fb2b4d2c837570a107c0a0ba5 100644 |
--- a/Source/core/frame/FrameHost.h |
+++ b/Source/core/frame/FrameHost.h |
@@ -82,15 +82,6 @@ |
void trace(Visitor*); |
- // Don't allow more than a certain number of frames in a page. |
- // This seems like a reasonable upper bound, and otherwise mutually |
- // recursive frameset pages can quickly bring the program to its knees |
- // with exponential growth in the number of frames. |
- static const int maxNumberOfFrames = 1000; |
- void incrementFrameCount() { ++m_frameCount; } |
- void decrementFrameCount() { ASSERT(m_frameCount); --m_frameCount; } |
- int frameCount() const; |
- |
private: |
explicit FrameHost(Page&); |
@@ -99,7 +90,6 @@ |
const OwnPtrWillBeMember<EventHandlerRegistry> m_eventHandlerRegistry; |
AtomicString m_overrideEncoding; |
- int m_frameCount; |
}; |
} |