| Index: Source/core/frame/FrameView.cpp
|
| diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
|
| index e4b516cfe5339a4d857ed7f6b7ca924a3046f6ec..ea9a4d9aea8440b6faab8a993fa02c160c270201 100644
|
| --- a/Source/core/frame/FrameView.cpp
|
| +++ b/Source/core/frame/FrameView.cpp
|
| @@ -623,13 +623,6 @@ void FrameView::updateCompositingLayersAfterStyleChange()
|
|
|
| // This call will make sure the cached hasAcceleratedCompositing is updated from the pref
|
| renderView->compositor()->cacheAcceleratedCompositingFlags();
|
| -
|
| - // Sometimes we will change a property (for example, z-index) that will not
|
| - // cause a layout, but will require us to update compositing state. We only
|
| - // need to do this if a layout is not already scheduled.
|
| - if (!needsLayout())
|
| - renderView->compositor()->updateCompositingRequirementsState();
|
| -
|
| renderView->compositor()->setNeedsCompositingUpdate(CompositingUpdateAfterStyleChange);
|
| }
|
|
|
| @@ -646,7 +639,6 @@ void FrameView::updateCompositingLayersAfterLayout()
|
|
|
| // This call will make sure the cached hasAcceleratedCompositing is updated from the pref
|
| renderView->compositor()->cacheAcceleratedCompositingFlags();
|
| - renderView->compositor()->updateCompositingRequirementsState();
|
| renderView->compositor()->setNeedsCompositingUpdate(CompositingUpdateAfterLayout);
|
| }
|
|
|
|
|