summaryrefslogtreecommitdiffstats
path: root/cc/quads/tile_draw_quad.cc
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.cc
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.cc')
-rw-r--r--cc/quads/tile_draw_quad.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/cc/quads/tile_draw_quad.cc b/cc/quads/tile_draw_quad.cc
index 6e28607..839f0de 100644
--- a/cc/quads/tile_draw_quad.cc
+++ b/cc/quads/tile_draw_quad.cc
@@ -17,10 +17,6 @@ TileDrawQuad::TileDrawQuad()
TileDrawQuad::~TileDrawQuad() {
}
-scoped_ptr<TileDrawQuad> TileDrawQuad::Create() {
- return make_scoped_ptr(new TileDrawQuad);
-}
-
void TileDrawQuad::SetNew(const SharedQuadState* shared_quad_state,
const gfx::Rect& rect,
const gfx::Rect& opaque_rect,