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

Unified Diff: cc/quad_culler.cc

Issue 11416088: cc: Turn SharedQuadState into a struct-like class similar to DrawQuads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix debug build Created 8 years, 1 month 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/layer_tree_host_impl_unittest.cc ('k') | cc/quad_sink.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quad_culler.cc
diff --git a/cc/quad_culler.cc b/cc/quad_culler.cc
index fe2072aa414d283bc6db23c3361a8934608474ee..f5ebff10c8d2d038d1ff079fa6e5447523e1249b 100644
--- a/cc/quad_culler.cc
+++ b/cc/quad_culler.cc
@@ -31,8 +31,6 @@ QuadCuller::QuadCuller(QuadList& quadList, SharedQuadStateList& sharedQuadStateL
SharedQuadState* QuadCuller::useSharedQuadState(scoped_ptr<SharedQuadState> sharedQuadState)
{
- sharedQuadState->id = m_sharedQuadStateList.size();
-
// FIXME: If all quads are culled for the sharedQuadState, we can drop it from the list.
m_currentSharedQuadState = sharedQuadState.get();
m_sharedQuadStateList.append(sharedQuadState.Pass());
« no previous file with comments | « cc/layer_tree_host_impl_unittest.cc ('k') | cc/quad_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698