summaryrefslogtreecommitdiffstats
path: root/cc/quads/tile_draw_quad.h
diff options
context:
space:
mode:
authorweiliangc@chromium.org <weiliangc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-16 07:51:53 +0000
committerweiliangc@chromium.org <weiliangc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-16 07:51:53 +0000
commitcb3203581fe6dc48fa6be548d4d662c0cb4260ae (patch)
tree296dabf33a416d07760954fa66cc8662bca56c58 /cc/quads/tile_draw_quad.h
parent3ba3eb71cda723a64fe7e71ef55cc91b8291c01e (diff)
downloadchromium_src-cb3203581fe6dc48fa6be548d4d662c0cb4260ae.zip
chromium_src-cb3203581fe6dc48fa6be548d4d662c0cb4260ae.tar.gz
chromium_src-cb3203581fe6dc48fa6be548d4d662c0cb4260ae.tar.bz2
Make DrawQuad constructors public, rm DQ::Create() function
In order to let RenderPass control allocation of DrawQuads, public DQ constructors, and make all use of DQ::Create function to make_scoped_ptr of public constructors. Similar to 271683004, and follow 380893004. BUG=344962 Review URL: https://codereview.chromium.org/398533002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283389 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/quads/tile_draw_quad.h')
-rw-r--r--cc/quads/tile_draw_quad.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/cc/quads/tile_draw_quad.h b/cc/quads/tile_draw_quad.h
index 71911ea..2d3c2ee 100644
--- a/cc/quads/tile_draw_quad.h
+++ b/cc/quads/tile_draw_quad.h
@@ -11,7 +11,7 @@ namespace cc {
class CC_EXPORT TileDrawQuad : public ContentDrawQuadBase {
public:
- static scoped_ptr<TileDrawQuad> Create();
+ TileDrawQuad();
virtual ~TileDrawQuad();
void SetNew(const SharedQuadState* shared_quad_state,
@@ -41,7 +41,6 @@ class CC_EXPORT TileDrawQuad : public ContentDrawQuadBase {
static const TileDrawQuad* MaterialCast(const DrawQuad*);
private:
- TileDrawQuad();
virtual void ExtendValue(base::DictionaryValue* value) const OVERRIDE;
};