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

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: . 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..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;

Powered by Google App Engine
This is Rietveld 408576698