| Index: third_party/WebKit/Source/core/frame/FrameView.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| index 94efad2e1d6b5062f977debda85d335194a68b06..fdb16e9dcfdbbf52ce5c9fa3cecad45418746fcd 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -1797,6 +1797,8 @@ void FrameView::scheduleRelayout()
|
|
|
| if (!shouldThrottleRendering())
|
| page()->animator().scheduleVisualUpdate(m_frame.get());
|
| + // TODO(chrishtr): this is dangerous and probably incorrect, since layout can be rescheduled during
|
| + // the lifecycle in cases such as change of containing block chain. Remove it.
|
| lifecycle().ensureStateAtMost(DocumentLifecycle::StyleClean);
|
| }
|
|
|
|
|