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

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

Issue 746163002: Drop RenderObject::hasBlendMode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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/CompositingInputsUpdater.cpp
diff --git a/Source/core/rendering/compositing/CompositingInputsUpdater.cpp b/Source/core/rendering/compositing/CompositingInputsUpdater.cpp
index 2514895d0522bc6bc2d5e95ab0bb3577a9b67e3a..e34587252a04e69ff41ba4a3718d4adfb8d3ea31 100644
--- a/Source/core/rendering/compositing/CompositingInputsUpdater.cpp
+++ b/Source/core/rendering/compositing/CompositingInputsUpdater.cpp
@@ -172,7 +172,7 @@ void CompositingInputsUpdater::updateRecursive(RenderLayer* layer, UpdateType up
updateRecursive(child, updateType, info);
descendantProperties.hasDescendantWithClipPath |= child->hasDescendantWithClipPath() || child->renderer()->hasClipPath();
- descendantProperties.hasNonIsolatedDescendantWithBlendMode |= (!child->stackingNode()->isStackingContext() && child->hasNonIsolatedDescendantWithBlendMode()) || child->renderer()->hasBlendMode();
+ descendantProperties.hasNonIsolatedDescendantWithBlendMode |= (!child->stackingNode()->isStackingContext() && child->hasNonIsolatedDescendantWithBlendMode()) || child->renderer()->style()->hasBlendMode();
}
layer->updateDescendantDependentCompositingInputs(descendantProperties);

Powered by Google App Engine
This is Rietveld 408576698