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

Unified Diff: cc/quads/draw_quad.cc

Issue 1152473006: cc: Remove DrawQuad::IterateResoruces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mkwst review Created 5 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
Index: cc/quads/draw_quad.cc
diff --git a/cc/quads/draw_quad.cc b/cc/quads/draw_quad.cc
index ac1b43e6c20fec95e2eac8ae85a595c3589d4369..1142cc10ddca99fef9e345fd0783cd81c1cef755 100644
--- a/cc/quads/draw_quad.cc
+++ b/cc/quads/draw_quad.cc
@@ -101,4 +101,9 @@ void DrawQuad::AsValueInto(base::trace_event::TracedValue* value) const {
ExtendValue(value);
}
+DrawQuad::Resources::Resources() : count(0) {
+ for (size_t i = 0; i < kMaxResourceIdCount; ++i)
+ ids[i] = 0;
+}
+
} // namespace cc
« cc/quads/draw_quad.h ('K') | « cc/quads/draw_quad.h ('k') | cc/quads/draw_quad_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698