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

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

Issue 101763008: Fix some problems reported by clang static analyzer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 months 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
« no previous file with comments | « Source/core/editing/markup.cpp ('k') | Source/core/rendering/InlineTextBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/CompositedLayerMapping.cpp
diff --git a/Source/core/rendering/CompositedLayerMapping.cpp b/Source/core/rendering/CompositedLayerMapping.cpp
index 41a76e068d6cf4fd451e8b2fefc37246fef5289c..e073c4c2f38f18d7ec597b931091abead5463f55 100644
--- a/Source/core/rendering/CompositedLayerMapping.cpp
+++ b/Source/core/rendering/CompositedLayerMapping.cpp
@@ -1303,7 +1303,6 @@ bool CompositedLayerMapping::updateSquashingLayers(bool needsSquashingLayers)
m_squashingLayer = createGraphicsLayer(CompositingReasonOverlap);
m_squashingLayer->setDrawsContent(true);
m_squashingLayer->setNeedsDisplay();
- layersChanged = true;
// FIXME: containment layer needs a new CompositingReason, CompositingReasonOverlap is not appropriate.
m_squashingContainmentLayer = createGraphicsLayer(CompositingReasonOverlap);
@@ -1318,7 +1317,6 @@ bool CompositedLayerMapping::updateSquashingLayers(bool needsSquashingLayers)
if (m_squashingLayer) {
m_squashingLayer->removeFromParent();
m_squashingLayer = nullptr;
- layersChanged = true;
// FIXME: do we need to invalidate something here?
ASSERT(m_squashingContainmentLayer);
« no previous file with comments | « Source/core/editing/markup.cpp ('k') | Source/core/rendering/InlineTextBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698