summaryrefslogtreecommitdiffstats
path: root/cc/quads/draw_polygon.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/quads/draw_polygon.h')
-rw-r--r--cc/quads/draw_polygon.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/cc/quads/draw_polygon.h b/cc/quads/draw_polygon.h
index 0ca9545..32643ee 100644
--- a/cc/quads/draw_polygon.h
+++ b/cc/quads/draw_polygon.h
@@ -24,11 +24,11 @@ class CC_EXPORT DrawPolygon {
DrawPolygon();
~DrawPolygon();
- DrawPolygon(const DrawQuad* original_ref,
+ DrawPolygon(DrawQuad* original_ref,
const std::vector<gfx::Point3F>& in_points,
const gfx::Vector3dF& normal,
int draw_order_index = 0);
- DrawPolygon(const DrawQuad* original_ref,
+ DrawPolygon(DrawQuad* original_ref,
const gfx::RectF& visible_content_rect,
const gfx::Transform& transform,
int draw_order_index = 0);
@@ -56,7 +56,7 @@ class CC_EXPORT DrawPolygon {
const gfx::Vector3dF& normal() const { return normal_; }
const DrawQuad* original_ref() const { return original_ref_; }
int order_index() const { return order_index_; }
- bool is_split() const { return is_split_; }
+
scoped_ptr<DrawPolygon> CreateCopy();
static gfx::Vector3dF default_normal;
@@ -76,8 +76,7 @@ class CC_EXPORT DrawPolygon {
// we need.
// This DrawQuad is owned by the caller and its lifetime must be preserved
// as long as this DrawPolygon is alive.
- const DrawQuad* original_ref_;
- bool is_split_;
+ DrawQuad* original_ref_;
};
} // namespace cc