Index: Source/core/frame/FrameConsole.h |
diff --git a/Source/core/frame/FrameConsole.h b/Source/core/frame/FrameConsole.h |
index 130e6f440040ce00b49290bd2b57021a6778b001..846c099836834f13d179f17620429d4435a7d4d1 100644 |
--- a/Source/core/frame/FrameConsole.h |
+++ b/Source/core/frame/FrameConsole.h |
@@ -72,7 +72,11 @@ public: |
private: |
explicit FrameConsole(LocalFrame&); |
- LocalFrame& frame() const { return *m_frame; } |
+ LocalFrame& frame() const |
+ { |
+ ASSERT(m_frame); |
+ return *m_frame; |
+ } |
RawPtrWillBeMember<LocalFrame> m_frame; |
OwnPtrWillBeMember<ConsoleMessageStorage> m_consoleMessageStorage; |