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

Unified Diff: experimental/svg/model/SkSVGNode.h

Issue 2353503005: [SVGDom] Opacity optimization (Closed)
Patch Set: Win build fix + review Created 4 years, 3 months 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
« no previous file with comments | « experimental/svg/model/SkSVGContainer.cpp ('k') | experimental/svg/model/SkSVGNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/svg/model/SkSVGNode.h
diff --git a/experimental/svg/model/SkSVGNode.h b/experimental/svg/model/SkSVGNode.h
index dcdb58958a94961d7f3fba1c52d9f05a452073fa..2a7c83641307ef09a180c3618970a1c1150714f0 100644
--- a/experimental/svg/model/SkSVGNode.h
+++ b/experimental/svg/model/SkSVGNode.h
@@ -69,6 +69,8 @@ protected:
virtual void onSetAttribute(SkSVGAttribute, const SkSVGValue&);
+ virtual bool hasChildren() const { return false; }
+
private:
SkSVGTag fTag;
« no previous file with comments | « experimental/svg/model/SkSVGContainer.cpp ('k') | experimental/svg/model/SkSVGNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698