| Index: Source/core/frame/FrameView.cpp | 
| diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp | 
| index 1cf99805ed20d25bdcf2564838ead43e1bdab5f3..501642192c768a044c575d17fc86d035c7d12e86 100644 | 
| --- a/Source/core/frame/FrameView.cpp | 
| +++ b/Source/core/frame/FrameView.cpp | 
| @@ -2029,6 +2029,7 @@ void FrameView::performPostLayoutTasks() | 
| m_frame->selection().setCaretRectNeedsUpdate(); | 
| m_frame->selection().updateAppearance(); | 
|  | 
| +    ASSERT(m_frame->document()); | 
| if (m_nestedLayoutCount <= 1) { | 
| if (m_firstLayoutCallbackPending) { | 
| m_firstLayoutCallbackPending = false; | 
| @@ -2048,7 +2049,7 @@ void FrameView::performPostLayoutTasks() | 
| } | 
| } | 
|  | 
| -    FontFaceSet::didLayout(m_frame->document()); | 
| +    FontFaceSet::didLayout(*m_frame->document()); | 
|  | 
| updateWidgetPositions(); | 
|  | 
|  |