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

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

Issue 785333002: Delete the Layer Squashing runtime feature. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 | « Source/core/rendering/compositing/RenderLayerCompositor.h ('k') | Source/core/testing/InternalSettings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/compositing/RenderLayerCompositor.cpp
diff --git a/Source/core/rendering/compositing/RenderLayerCompositor.cpp b/Source/core/rendering/compositing/RenderLayerCompositor.cpp
index 473433309766013d54666e0509f6b6bb939a7e93..fbb1ae5cf0f9b2fe5e9cc33617079522a1f533d8 100644
--- a/Source/core/rendering/compositing/RenderLayerCompositor.cpp
+++ b/Source/core/rendering/compositing/RenderLayerCompositor.cpp
@@ -154,15 +154,6 @@ void RenderLayerCompositor::updateAcceleratedCompositingSettings()
rootRenderLayer()->setNeedsCompositingInputsUpdate();
}
-bool RenderLayerCompositor::layerSquashingEnabled() const
-{
- if (!RuntimeEnabledFeatures::layerSquashingEnabled())
- return false;
- if (Settings* settings = m_renderView.document().settings())
- return settings->layerSquashingEnabled();
- return true;
-}
-
bool RenderLayerCompositor::preferCompositingToLCDTextEnabled() const
{
return m_compositingReasonFinder.hasOverflowScrollTrigger();
« no previous file with comments | « Source/core/rendering/compositing/RenderLayerCompositor.h ('k') | Source/core/testing/InternalSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698