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

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

Issue 60113005: Enable chromium_code=1 on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: . 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/RenderLayerStackingNode.cpp
diff --git a/Source/core/rendering/RenderLayerStackingNode.cpp b/Source/core/rendering/RenderLayerStackingNode.cpp
index b0d2973c9b16d3557d43a71fa088d291c6344f91..b51e32a6d7f2350bad8c5ed0de213d770008058d 100644
--- a/Source/core/rendering/RenderLayerStackingNode.cpp
+++ b/Source/core/rendering/RenderLayerStackingNode.cpp
@@ -438,7 +438,7 @@ bool RenderLayerStackingNode::shouldBeNormalFlowOnlyIgnoringCompositedScrolling(
void RenderLayerStackingNode::updateIsNormalFlowOnly()
{
bool isNormalFlowOnly = shouldBeNormalFlowOnly();
- if (isNormalFlowOnly == m_isNormalFlowOnly)
+ if (isNormalFlowOnly == static_cast<bool>(m_isNormalFlowOnly))
Nico 2013/11/06 05:03:14 and again
return;
m_isNormalFlowOnly = isNormalFlowOnly;
@@ -620,7 +620,7 @@ bool RenderLayerStackingNode::descendantsAreContiguousInStackingOrder() const
bool RenderLayerStackingNode::setNeedsToBeStackingContainer(bool needsToBeStackingContainer)
{
- if (m_needsToBeStackingContainer == needsToBeStackingContainer)
+ if (static_cast<bool>(m_needsToBeStackingContainer) == needsToBeStackingContainer)
Nico 2013/11/06 05:03:14
return false;
// Count the total number of RenderLayers which need to be stacking

Powered by Google App Engine
This is Rietveld 408576698