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

Unified Diff: Source/core/rendering/compositing/RenderLayerCompositor.h

Issue 320103005: Delete RenderLayerCompositor::m_compositingLayersNeedRebuild (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: less wrong code Created 6 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/rendering/compositing/RenderLayerCompositor.h
diff --git a/Source/core/rendering/compositing/RenderLayerCompositor.h b/Source/core/rendering/compositing/RenderLayerCompositor.h
index a8345d8e9a697a7307d32486ce8b442284638645..c9a43c450af89a76ee80dfaa08da14165e673465 100644
--- a/Source/core/rendering/compositing/RenderLayerCompositor.h
+++ b/Source/core/rendering/compositing/RenderLayerCompositor.h
@@ -49,6 +49,7 @@ enum CompositingUpdateType {
CompositingUpdateNone,
CompositingUpdateOnCompositedScroll,
CompositingUpdateAfterCompositingInputChange,
+ CompositingUpdateRebuildTree,
};
enum CompositingStateTransitionType {
@@ -94,10 +95,6 @@ public:
// Copy the accelerated compositing related flags from Settings
void updateAcceleratedCompositingSettings();
- // Called when the layer hierarchy needs to be updated (compositing layers have been
- // created, destroyed or re-parented).
- void setCompositingLayersNeedRebuild();
-
// Used to indicate that a compositing update will be needed for the next frame that gets drawn.
void setNeedsCompositingUpdate(CompositingUpdateType);
@@ -234,8 +231,6 @@ private:
GraphicsLayerFactory* graphicsLayerFactory() const;
ScrollingCoordinator* scrollingCoordinator() const;
- bool compositingLayersNeedRebuild();
-
void enableCompositingModeIfNeeded();
bool requiresHorizontalScrollbarLayer() const;
@@ -261,7 +256,6 @@ private:
bool m_hasAcceleratedCompositing;
bool m_compositing;
- bool m_compositingLayersNeedRebuild;
// The root layer doesn't composite if it's a non-scrollable frame.
// So, after a layout we set this dirty bit to know that we need
« no previous file with comments | « Source/core/rendering/compositing/GraphicsLayerUpdater.h ('k') | Source/core/rendering/compositing/RenderLayerCompositor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698