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

Unified Diff: sky/engine/core/rendering/RenderLayer.h

Issue 794733004: Remove CompositingReasons.* (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years 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 | « sky/engine/core/rendering/RenderHTMLCanvas.cpp ('k') | sky/engine/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/RenderLayer.h
diff --git a/sky/engine/core/rendering/RenderLayer.h b/sky/engine/core/rendering/RenderLayer.h
index e4abe477177c092af626804fa3020627122b44ae..e18ba79ffa9ca7d4dbdc235bfdc54df0f824dfc0 100644
--- a/sky/engine/core/rendering/RenderLayer.h
+++ b/sky/engine/core/rendering/RenderLayer.h
@@ -53,7 +53,6 @@
#include "sky/engine/core/rendering/RenderLayerScrollableArea.h"
#include "sky/engine/core/rendering/RenderLayerStackingNode.h"
#include "sky/engine/core/rendering/RenderLayerStackingNodeIterator.h"
-#include "sky/engine/platform/graphics/CompositingReasons.h"
#include "sky/engine/public/platform/WebBlendMode.h"
#include "sky/engine/wtf/OwnPtr.h"
@@ -291,11 +290,6 @@ public:
bool scrollsOverflow() const;
- CompositingReasons potentialCompositingReasonsFromStyle() const { return m_potentialCompositingReasonsFromStyle; }
- void setPotentialCompositingReasonsFromStyle(CompositingReasons reasons) { ASSERT(reasons == (reasons & CompositingReasonComboAllStyleDeterminedReasons)); m_potentialCompositingReasonsFromStyle = reasons; }
-
- bool hasStyleDeterminedDirectCompositingReasons() const { return m_potentialCompositingReasonsFromStyle & CompositingReasonComboAllDirectStyleDeterminedReasons; }
-
class AncestorDependentCompositingInputs {
public:
AncestorDependentCompositingInputs()
@@ -387,9 +381,6 @@ public:
bool lostGroupedMapping() const { return m_lostGroupedMapping; }
void setLostGroupedMapping(bool b) { m_lostGroupedMapping = b; }
- CompositingReasons compositingReasons() const { return m_compositingReasons; }
- void setCompositingReasons(CompositingReasons, CompositingReasons mask = CompositingReasonAll);
-
bool hasCompositingDescendant() const { return m_hasCompositingDescendant; }
void setHasCompositingDescendant(bool);
@@ -556,13 +547,6 @@ private:
OwnPtr<TransformationMatrix> m_transform;
- // These compositing reasons are updated whenever style changes, not while updating compositing layers.
- // They should not be used to infer the compositing state of this layer.
- CompositingReasons m_potentialCompositingReasonsFromStyle;
-
- // Once computed, indicates all that a layer needs to become composited using the CompositingReasons enum bitfield.
- CompositingReasons m_compositingReasons;
-
DescendantDependentCompositingInputs m_descendantDependentCompositingInputs;
AncestorDependentCompositingInputs m_ancestorDependentCompositingInputs;
« no previous file with comments | « sky/engine/core/rendering/RenderHTMLCanvas.cpp ('k') | sky/engine/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698