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

Unified Diff: Source/core/layout/compositing/GraphicsLayerUpdater.cpp

Issue 1176503002: Rename isNormalFlowOnly to something meaningful (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Nittified! Created 5 years, 6 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
Index: Source/core/layout/compositing/GraphicsLayerUpdater.cpp
diff --git a/Source/core/layout/compositing/GraphicsLayerUpdater.cpp b/Source/core/layout/compositing/GraphicsLayerUpdater.cpp
index bea183e89e732f51bf3c05c74a241dde4d6dd19a..a2458bf78af0adf6e2aca5d5de2243055d887cb0 100644
--- a/Source/core/layout/compositing/GraphicsLayerUpdater.cpp
+++ b/Source/core/layout/compositing/GraphicsLayerUpdater.cpp
@@ -58,7 +58,7 @@ public:
const DeprecatedPaintLayer* compositingContainer(const DeprecatedPaintLayer& layer) const
{
- return layer.stackingNode()->isNormalFlowOnly() ? m_compositingAncestor : m_compositingStackingContext;
+ return layer.stackingNode()->isTreatedAsStackingContextForPainting() ? m_compositingStackingContext : m_compositingAncestor;
}
const DeprecatedPaintLayer* compositingStackingContext() const
« no previous file with comments | « Source/core/layout/compositing/CompositingInputsUpdater.cpp ('k') | Source/core/paint/DeprecatedPaintLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698