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

Unified Diff: cc/output/gl_renderer_draw_cache.cc

Issue 706203003: Update from https://crrev.com/303153 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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/output/gl_renderer.cc ('k') | cc/output/overlay_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/gl_renderer_draw_cache.cc
diff --git a/cc/output/gl_renderer_draw_cache.cc b/cc/output/gl_renderer_draw_cache.cc
index 51834c4602c22fb54baae92d0b4451e66291b84d..a0004f2a0647a7a9aaa5c6198325cae01292569b 100644
--- a/cc/output/gl_renderer_draw_cache.cc
+++ b/cc/output/gl_renderer_draw_cache.cc
@@ -7,7 +7,16 @@
namespace cc {
TexturedQuadDrawCache::TexturedQuadDrawCache()
- : program_id(0) {}
+ : program_id(-1),
+ resource_id(-1),
+ needs_blending(false),
+ background_color(0),
+ uv_xform_location(-1),
+ background_color_location(-1),
+ vertex_opacity_location(-1),
+ matrix_location(-1),
+ sampler_location(-1) {
+}
TexturedQuadDrawCache::~TexturedQuadDrawCache() {}
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/output/overlay_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698