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

Unified Diff: WebCore/rendering/RenderLayerBacking.cpp

Issue 14295007: Remove the CSS_COMPOSITING define, the CSS blending and compositing (Closed) Base URL: http://src.chromium.org/blink/trunk/Source/
Patch Set: Created 7 years, 8 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
« no previous file with comments | « WebCore/rendering/RenderLayerBacking.h ('k') | WebCore/rendering/RenderLayerCompositor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebCore/rendering/RenderLayerBacking.cpp
===================================================================
--- WebCore/rendering/RenderLayerBacking.cpp (revision 148420)
+++ WebCore/rendering/RenderLayerBacking.cpp (working copy)
@@ -207,9 +207,7 @@
#if ENABLE(CSS_FILTERS)
updateFilters(renderer()->style());
#endif
-#if ENABLE(CSS_COMPOSITING)
updateLayerBlendMode(renderer()->style());
-#endif
}
void RenderLayerBacking::destroyGraphicsLayers()
@@ -272,11 +270,9 @@
}
#endif
-#if ENABLE(CSS_COMPOSITING)
void RenderLayerBacking::updateLayerBlendMode(const RenderStyle*)
{
}
-#endif
static bool hasNonZeroTransformOrigin(const RenderObject* renderer)
{
@@ -491,9 +487,7 @@
if (!renderer()->animation()->isRunningAcceleratedAnimationOnRenderer(renderer(), CSSPropertyOpacity))
updateOpacity(renderer()->style());
-#if ENABLE(CSS_COMPOSITING)
updateLayerBlendMode(renderer()->style());
-#endif
bool isSimpleContainer = isSimpleContainerCompositingLayer();
@@ -1553,11 +1547,9 @@
compositor()->repaintInCompositedAncestor(m_owningLayer, compositedBounds());
}
-#if ENABLE(CSS_COMPOSITING)
void RenderLayerBacking::setBlendMode(BlendMode)
{
}
-#endif
void RenderLayerBacking::setContentsNeedDisplay()
{
« no previous file with comments | « WebCore/rendering/RenderLayerBacking.h ('k') | WebCore/rendering/RenderLayerCompositor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698