Chromium Code Reviews| Index: Source/core/rendering/RenderLayer.cpp |
| diff --git a/Source/core/rendering/RenderLayer.cpp b/Source/core/rendering/RenderLayer.cpp |
| index 4196e8f2d9be9e192569aae086b6dfd4f7c80259..fd94ab65acb2b7c29cc7e3b9603d4640c8caec4c 100644 |
| --- a/Source/core/rendering/RenderLayer.cpp |
| +++ b/Source/core/rendering/RenderLayer.cpp |
| @@ -3614,16 +3614,7 @@ bool RenderLayer::childBackgroundIsKnownToBeOpaqueInRect(const LayoutRect& local |
| void RenderLayer::setParent(RenderLayer* parent) |
| { |
| - if (parent == m_parent) |
| - return; |
| - |
| - if (m_parent && !renderer()->documentBeingDestroyed()) |
| - compositor()->layerWillBeRemoved(m_parent, this); |
| - |
| m_parent = parent; |
|
esprehn
2014/05/01 21:50:41
This should be inline now. :)
|
| - |
| - if (m_parent && !renderer()->documentBeingDestroyed()) |
| - compositor()->layerWasAdded(m_parent, this); |
| } |
| bool RenderLayer::shouldBeSelfPaintingLayer() const |