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

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

Issue 778883002: Remove all but one of the PaintLayerFlags. (Closed) Base URL: git@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 | « no previous file | sky/engine/core/rendering/RenderLayer.h » ('j') | sky/engine/core/rendering/RenderLayer.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/LayerPaintingInfo.h
diff --git a/sky/engine/core/rendering/LayerPaintingInfo.h b/sky/engine/core/rendering/LayerPaintingInfo.h
index 108f5721a4a7f5989e8f2390cbc58265d0001122..a77cb10c2273b26402a06b93089b1fcb149b7a31 100644
--- a/sky/engine/core/rendering/LayerPaintingInfo.h
+++ b/sky/engine/core/rendering/LayerPaintingInfo.h
@@ -52,16 +52,9 @@ namespace blink {
class RenderLayer;
+// FIXME(sky): Get rid of this bitmasking and just use a regular enum.
ojan 2014/12/04 03:47:13 Will remove the enum in a followup to try to keep
ojan 2014/12/04 03:47:13 Will remove the enum in a followup to try to keep
enum PaintLayerFlag {
- PaintLayerHaveTransparency = 1,
- // FIXME(sky): This is unused. Remove it.
- PaintLayerUncachedClipRects = 1 << 2,
- PaintLayerPaintingOverlayScrollbars = 1 << 4,
- PaintLayerPaintingCompositingBackgroundPhase = 1 << 5,
- PaintLayerPaintingCompositingForegroundPhase = 1 << 6,
- PaintLayerPaintingCompositingMaskPhase = 1 << 7,
- PaintLayerPaintingCompositingScrollingPhase = 1 << 8,
- PaintLayerPaintingCompositingAllPhases = (PaintLayerPaintingCompositingBackgroundPhase | PaintLayerPaintingCompositingForegroundPhase | PaintLayerPaintingCompositingMaskPhase)
+ PaintLayerPaintingOverlayScrollbars = 1,
};
typedef unsigned PaintLayerFlags;
« no previous file with comments | « no previous file | sky/engine/core/rendering/RenderLayer.h » ('j') | sky/engine/core/rendering/RenderLayer.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698