Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1143)

Unified Diff: Source/core/rendering/RenderLayer.cpp

Issue 60113005: Enable chromium_code=1 on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use accessors Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/rendering/RenderLayer.cpp
diff --git a/Source/core/rendering/RenderLayer.cpp b/Source/core/rendering/RenderLayer.cpp
index 8bfd94b6ff48e5e07fbd519fb5131f2e4c81dcb8..36fec976a04e1f46da73995022aed365aefa7696 100644
--- a/Source/core/rendering/RenderLayer.cpp
+++ b/Source/core/rendering/RenderLayer.cpp
@@ -3783,14 +3783,14 @@ bool RenderLayer::shouldBeSelfPaintingLayer() const
void RenderLayer::updateSelfPaintingLayer()
{
- bool isSelfPaintingLayer = shouldBeSelfPaintingLayer();
- if (m_isSelfPaintingLayer == isSelfPaintingLayer)
+ bool newIsSelfPaintingLayer = shouldBeSelfPaintingLayer();
+ if (isSelfPaintingLayer() == newIsSelfPaintingLayer)
return;
- m_isSelfPaintingLayer = isSelfPaintingLayer;
+ m_isSelfPaintingLayer = newIsSelfPaintingLayer;
if (!parent())
return;
- if (isSelfPaintingLayer)
+ if (newIsSelfPaintingLayer)
parent()->setAncestorChainHasSelfPaintingLayerDescendant();
else
parent()->dirtyAncestorChainHasSelfPaintingLayerDescendantStatus();

Powered by Google App Engine
This is Rietveld 408576698