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

Unified Diff: Source/core/rendering/style/RenderStyle.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/style/RenderStyle.cpp
diff --git a/Source/core/rendering/style/RenderStyle.cpp b/Source/core/rendering/style/RenderStyle.cpp
index 5dcb788e556cd2aa2baea22ad982534606fc08e4..119cd413993b77c23ab9bc9652ec76827daaa5de 100644
--- a/Source/core/rendering/style/RenderStyle.cpp
+++ b/Source/core/rendering/style/RenderStyle.cpp
@@ -831,46 +831,6 @@ void RenderStyle::setContent(QuoteType quote, bool add)
rareNonInheritedData.access()->m_content = ContentData::create(quote);
}
-WebBlendMode RenderStyle::blendMode() const
-{
- if (RuntimeEnabledFeatures::cssCompositingEnabled())
- return static_cast<WebBlendMode>(rareNonInheritedData->m_effectiveBlendMode);
- return WebBlendModeNormal;
-}
-
-void RenderStyle::setBlendMode(WebBlendMode v)
-{
- if (RuntimeEnabledFeatures::cssCompositingEnabled())
- rareNonInheritedData.access()->m_effectiveBlendMode = v;
-}
-
-bool RenderStyle::hasBlendMode() const
-{
- if (RuntimeEnabledFeatures::cssCompositingEnabled())
- return static_cast<WebBlendMode>(rareNonInheritedData->m_effectiveBlendMode) != WebBlendModeNormal;
- return false;
-}
-
-EIsolation RenderStyle::isolation() const
-{
- if (RuntimeEnabledFeatures::cssCompositingEnabled())
- return static_cast<EIsolation>(rareNonInheritedData->m_isolation);
- return IsolationAuto;
-}
-
-void RenderStyle::setIsolation(EIsolation v)
-{
- if (RuntimeEnabledFeatures::cssCompositingEnabled())
- rareNonInheritedData.access()->m_isolation = v;
-}
-
-bool RenderStyle::hasIsolation() const
-{
- if (RuntimeEnabledFeatures::cssCompositingEnabled())
- return rareNonInheritedData->m_isolation != IsolationAuto;
- return false;
-}
-
bool RenderStyle::hasWillChangeCompositingHint() const
{
for (size_t i = 0; i < rareNonInheritedData->m_willChange->m_properties.size(); ++i) {
« Source/core/rendering/RenderObject.h ('K') | « Source/core/rendering/style/RenderStyle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698