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

Side by Side Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp

Issue 2564193002: [SPv2] Add CSS mix-blend-mode support (Closed)
Patch Set: fix msvc warning Created 4 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2007, 2008 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2007, 2008 Rob Buis <buis@kde.org>
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2009 Google, Inc. All rights reserved. 5 * Copyright (C) 2009 Google, Inc. All rights reserved.
6 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> 6 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 case DescendantIsolationRequired: 143 case DescendantIsolationRequired:
144 m_hasNonIsolatedBlendingDescendants = true; 144 m_hasNonIsolatedBlendingDescendants = true;
145 m_hasNonIsolatedBlendingDescendantsDirty = false; 145 m_hasNonIsolatedBlendingDescendantsDirty = false;
146 break; 146 break;
147 case DescendantIsolationNeedsUpdate: 147 case DescendantIsolationNeedsUpdate:
148 if (m_hasNonIsolatedBlendingDescendantsDirty) 148 if (m_hasNonIsolatedBlendingDescendantsDirty)
149 return; 149 return;
150 m_hasNonIsolatedBlendingDescendantsDirty = true; 150 m_hasNonIsolatedBlendingDescendantsDirty = true;
151 break; 151 break;
152 } 152 }
153 if (SVGLayoutSupport::willIsolateBlendingDescendantsForObject(this)) 153 if (SVGLayoutSupport::willIsolateBlendingDescendantsForObject(this)) {
154 if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled())
155 setNeedsPaintPropertyUpdate();
154 return; 156 return;
157 }
155 if (parent()) 158 if (parent())
156 parent()->descendantIsolationRequirementsChanged(state); 159 parent()->descendantIsolationRequirementsChanged(state);
157 } 160 }
158 161
159 void LayoutSVGContainer::paint(const PaintInfo& paintInfo, 162 void LayoutSVGContainer::paint(const PaintInfo& paintInfo,
160 const LayoutPoint&) const { 163 const LayoutPoint&) const {
161 SVGContainerPainter(*this).paint(paintInfo); 164 SVGContainerPainter(*this).paint(paintInfo);
162 } 165 }
163 166
164 void LayoutSVGContainer::addOutlineRects( 167 void LayoutSVGContainer::addOutlineRects(
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 // under the pointer (i.e., there is no target element), the event is not 216 // under the pointer (i.e., there is no target element), the event is not
214 // dispatched." 217 // dispatched."
215 return false; 218 return false;
216 } 219 }
217 220
218 SVGTransformChange LayoutSVGContainer::calculateLocalTransform() { 221 SVGTransformChange LayoutSVGContainer::calculateLocalTransform() {
219 return SVGTransformChange::None; 222 return SVGTransformChange::None;
220 } 223 }
221 224
222 } // namespace blink 225 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698