Index: src/opts/Sk2x_none.h |
diff --git a/src/opts/Sk2x_none.h b/src/opts/Sk2x_none.h |
index 12daffd72fabd1e199903039e92ec77522f0a06a..65cc6703fbd88b942235d68f7c66f8ada2b16f43 100644 |
--- a/src/opts/Sk2x_none.h |
+++ b/src/opts/Sk2x_none.h |
@@ -43,6 +43,9 @@ M(Sk2x<T>) subtract(const Sk2x<T>& o) const { |
M(Sk2x<T>) multiply(const Sk2x<T>& o) const { |
return Sk2x<T>(fVec[0] * o.fVec[0], fVec[1] * o.fVec[1]); |
} |
+M(Sk2x<T>) divide(const Sk2x<T>& o) const { |
+ return Sk2x<T>(fVec[0] / o.fVec[0], fVec[1] / o.fVec[1]); |
+} |
M(Sk2x<T>) Min(const Sk2x<T>& a, const Sk2x<T>& b) { |
return Sk2x<T>(SkTMin(a.fVec[0], b.fVec[0]), SkTMin(a.fVec[1], b.fVec[1])); |