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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.h

Issue 2570223002: [SPv2] Associate effect property nodes for SVG paint chunks (Closed)
Patch Set: keep CompositingRecorder, update expectation 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutObject.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
index b2d6e637b7943caac748a51f17eb13723413751e..8ad82ec76a342fc243a29d9ea3da1df7b9c71deb 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -649,7 +649,11 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
return !isSVG() || (isSVGContainer() && !isSVGHiddenContainer()) ||
isSVGShape() || isSVGImage() || isSVGText();
}
- virtual bool hasNonIsolatedBlendingDescendants() const { return false; }
+ virtual bool hasNonIsolatedBlendingDescendants() const {
chrishtr 2016/12/21 21:39:24 Why do you need to make the changes to hasNonIsola
trchen 2016/12/21 22:36:41 Yea... This really belongs to a split out. Done.
+ // SVG only. For non-SVG objects, query PaintLayer instead.
+ NOTREACHED();
pdr. 2016/12/21 19:12:52 What about DCHECK(isSVG()); and remove the other o
trchen 2016/12/21 22:36:41 That's genius! I'll do that instead (in a split ou
+ return false;
+ }
enum DescendantIsolationState {
DescendantIsolationRequired,
DescendantIsolationNeedsUpdate,

Powered by Google App Engine
This is Rietveld 408576698