Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4194)

Unified Diff: cc/quads/surface_draw_quad.h

Issue 398533002: Make DrawQuad constructors public, rm DQ::Create() function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: get rid of make_scoped_ptr Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/quads/stream_video_draw_quad.cc ('k') | cc/quads/surface_draw_quad.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/surface_draw_quad.h
diff --git a/cc/quads/surface_draw_quad.h b/cc/quads/surface_draw_quad.h
index e182ea3c286d52494d329b692477ac5bb80d5ae9..7b22ed5050c855b730d4d3ee558cdb29febbc060 100644
--- a/cc/quads/surface_draw_quad.h
+++ b/cc/quads/surface_draw_quad.h
@@ -14,7 +14,7 @@ namespace cc {
class CC_EXPORT SurfaceDrawQuad : public DrawQuad {
public:
- static scoped_ptr<SurfaceDrawQuad> Create();
+ SurfaceDrawQuad();
void SetNew(const SharedQuadState* shared_quad_state,
const gfx::Rect& rect,
@@ -36,7 +36,6 @@ class CC_EXPORT SurfaceDrawQuad : public DrawQuad {
static const SurfaceDrawQuad* MaterialCast(const DrawQuad* quad);
private:
- SurfaceDrawQuad();
virtual void ExtendValue(base::DictionaryValue* value) const OVERRIDE;
};
« no previous file with comments | « cc/quads/stream_video_draw_quad.cc ('k') | cc/quads/surface_draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698