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

Unified Diff: Source/core/svg/SVGLength.cpp

Issue 803443002: Introduce InlinedGlobalMarkingVisitor Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/core/svg/SVGLength.h ('k') | Source/core/svg/SVGNumberOptionalNumber.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGLength.cpp
diff --git a/Source/core/svg/SVGLength.cpp b/Source/core/svg/SVGLength.cpp
index 3c928704dc21593d6dd2cd672f1f622760e1dea7..190318f65a565412ad4f252a6f4f2829576217b1 100644
--- a/Source/core/svg/SVGLength.cpp
+++ b/Source/core/svg/SVGLength.cpp
@@ -467,4 +467,18 @@ float SVGLength::calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase> toVal
return fabsf(toLength->value(lengthContext, IGNORE_EXCEPTION) - value(lengthContext, IGNORE_EXCEPTION));
}
+#if 0
+void SVGLength::trace(Visitor* visitor) {
+ printf("Generic trace\n");
+ traceImpl(visitor); }
+void SVGLength::trace(InlinedGlobalMarkingVisitor visitor) {
+ printf("Inline trace\n");
+ traceImpl(visitor); }
+template<typename VisitorDispatcher>
+ALWAYS_INLINE void SVGLength::traceImpl(VisitorDispatcher visitor)
+{
+ SVGPropertyBase::trace(visitor);
+}
+#endif
+
}
« no previous file with comments | « Source/core/svg/SVGLength.h ('k') | Source/core/svg/SVGNumberOptionalNumber.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698