Index: cc/quads/draw_polygon.h |
diff --git a/cc/quads/draw_polygon.h b/cc/quads/draw_polygon.h |
index 2dc642cde3195cd8beb47c74b72476cfb9ba1a5f..8c89e599334ed19977c71b537c0425cc110893b4 100644 |
--- a/cc/quads/draw_polygon.h |
+++ b/cc/quads/draw_polygon.h |
@@ -56,7 +56,10 @@ class CC_EXPORT DrawPolygon { |
bool is_split() const { return is_split_; } |
std::unique_ptr<DrawPolygon> CreateCopy(); |
+ // These are helper functions for testing. |
void RecomputeNormalForTesting(); |
+ friend bool IsPlanarForTesting(const DrawPolygon& p); |
+ friend bool IsConvexForTesting(const DrawPolygon& p); |
private: |
void ApplyTransform(const gfx::Transform& transform); |