Chromium Code Reviews| Index: Source/core/rendering/RenderLayer.cpp |
| diff --git a/Source/core/rendering/RenderLayer.cpp b/Source/core/rendering/RenderLayer.cpp |
| index 8bfd94b6ff48e5e07fbd519fb5131f2e4c81dcb8..bc87f2d014656bb90749e0ae088796667039aa27 100644 |
| --- a/Source/core/rendering/RenderLayer.cpp |
| +++ b/Source/core/rendering/RenderLayer.cpp |
| @@ -3784,7 +3784,7 @@ bool RenderLayer::shouldBeSelfPaintingLayer() const |
| void RenderLayer::updateSelfPaintingLayer() |
| { |
| bool isSelfPaintingLayer = shouldBeSelfPaintingLayer(); |
|
Nico
2013/11/06 05:03:14
Ugh, this shadows the member function of the same
|
| - if (m_isSelfPaintingLayer == isSelfPaintingLayer) |
| + if (static_cast<bool>(m_isSelfPaintingLayer) == isSelfPaintingLayer) |
| return; |
| m_isSelfPaintingLayer = isSelfPaintingLayer; |