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

Unified Diff: cc/quads/shared_quad_state.h

Issue 2029813002: cc::SharedQuadState: drop CopyFrom and add copy constructor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use = default in cc Created 4 years, 7 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/render_pass.cc ('k') | cc/quads/shared_quad_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/shared_quad_state.h
diff --git a/cc/quads/shared_quad_state.h b/cc/quads/shared_quad_state.h
index 35da669c30910c9f9db7d2d0bac9b5a3c3c57895..75f603fe6a6c24fb3ef4e440abc00ebf51a7c195 100644
--- a/cc/quads/shared_quad_state.h
+++ b/cc/quads/shared_quad_state.h
@@ -29,10 +29,9 @@ namespace cc {
class CC_EXPORT SharedQuadState {
public:
SharedQuadState();
+ SharedQuadState(const SharedQuadState& other);
~SharedQuadState();
- void CopyFrom(const SharedQuadState* other);
-
void SetAll(const gfx::Transform& quad_to_target_transform,
const gfx::Size& layer_bounds,
const gfx::Rect& visible_layer_rect,
« no previous file with comments | « cc/quads/render_pass.cc ('k') | cc/quads/shared_quad_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698