| Index: sky/engine/core/frame/FrameView.cpp
|
| diff --git a/sky/engine/core/frame/FrameView.cpp b/sky/engine/core/frame/FrameView.cpp
|
| index f0639b99e21e9a353cf333b0120b64a49fa2d6f2..888b0156d32ce3dfd4e02444245c79bb81c78064 100644
|
| --- a/sky/engine/core/frame/FrameView.cpp
|
| +++ b/sky/engine/core/frame/FrameView.cpp
|
| @@ -694,8 +694,6 @@ void FrameView::paint(GraphicsContext* context, const IntRect& rect)
|
|
|
| void FrameView::paintContents(GraphicsContext* p, const IntRect& rect)
|
| {
|
| - Document* document = m_frame->document();
|
| -
|
| #ifndef NDEBUG
|
| bool fillWithRed;
|
| if (isTransparent())
|
| @@ -716,7 +714,7 @@ void FrameView::paintContents(GraphicsContext* p, const IntRect& rect)
|
| }
|
|
|
| RELEASE_ASSERT(!needsLayout());
|
| - ASSERT(document->lifecycle().state() >= DocumentLifecycle::StyleAndLayoutClean);
|
| + ASSERT(m_frame->document()->lifecycle().state() >= DocumentLifecycle::StyleAndLayoutClean);
|
|
|
| TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "Paint", "data", InspectorPaintEvent::data(renderView, rect));
|
| TRACE_EVENT_INSTANT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline.stack"), "CallStack", TRACE_EVENT_SCOPE_PROCESS, "stack", InspectorCallStackEvent::currentCallStack());
|
|
|