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

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

Issue 2570223002: [SPv2] Associate effect property nodes for SVG paint chunks (Closed)
Patch Set: fix isolation & apply effects to SVG graphics elements 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 5757694cf4caa5d19d02c67548108868b68b706a..175c2efb25c6ebe4ea0e69932db0ab40dbd1a3d1 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 {
+ // SVG only. For non-SVG objects, query PaintLayer instead.
+ NOTREACHED();
+ return false;
+ }
enum DescendantIsolationState {
DescendantIsolationRequired,
DescendantIsolationNeedsUpdate,

Powered by Google App Engine
This is Rietveld 408576698