diff options
author | weiliangc@chromium.org <weiliangc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-16 07:51:53 +0000 |
---|---|---|
committer | weiliangc@chromium.org <weiliangc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-16 07:51:53 +0000 |
commit | cb3203581fe6dc48fa6be548d4d662c0cb4260ae (patch) | |
tree | 296dabf33a416d07760954fa66cc8662bca56c58 /cc/quads/stream_video_draw_quad.h | |
parent | 3ba3eb71cda723a64fe7e71ef55cc91b8291c01e (diff) | |
download | chromium_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/stream_video_draw_quad.h')
-rw-r--r-- | cc/quads/stream_video_draw_quad.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cc/quads/stream_video_draw_quad.h b/cc/quads/stream_video_draw_quad.h index bc85325..0570f31 100644 --- a/cc/quads/stream_video_draw_quad.h +++ b/cc/quads/stream_video_draw_quad.h @@ -14,7 +14,7 @@ namespace cc { class CC_EXPORT StreamVideoDrawQuad : public DrawQuad { public: - static scoped_ptr<StreamVideoDrawQuad> Create(); + StreamVideoDrawQuad(); void SetNew(const SharedQuadState* shared_quad_state, const gfx::Rect& rect, @@ -40,7 +40,6 @@ class CC_EXPORT StreamVideoDrawQuad : public DrawQuad { static const StreamVideoDrawQuad* MaterialCast(const DrawQuad*); private: - StreamVideoDrawQuad(); virtual void ExtendValue(base::DictionaryValue* value) const OVERRIDE; }; |