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

Unified Diff: cc/quads/render_pass_draw_quad.h

Issue 2064833002: Implement DrawQuad StructTraits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix move constructor Created 4 years, 6 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/texture_draw_quad.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/render_pass_draw_quad.h
diff --git a/cc/quads/render_pass_draw_quad.h b/cc/quads/render_pass_draw_quad.h
index 94461a1a328e3ec4cea8d6857aa16446eec65854..97dd4f24db48e168e7f9706fec1e4b237ee22f13 100644
--- a/cc/quads/render_pass_draw_quad.h
+++ b/cc/quads/render_pass_draw_quad.h
@@ -19,6 +19,8 @@ namespace cc {
class CC_EXPORT RenderPassDrawQuad : public DrawQuad {
public:
+ static const size_t kMaskResourceIdIndex = 0;
+
RenderPassDrawQuad();
RenderPassDrawQuad(const RenderPassDrawQuad& other);
~RenderPassDrawQuad() override;
@@ -74,8 +76,6 @@ class CC_EXPORT RenderPassDrawQuad : public DrawQuad {
static const RenderPassDrawQuad* MaterialCast(const DrawQuad*);
private:
- static const size_t kMaskResourceIdIndex = 0;
-
void ExtendValue(base::trace_event::TracedValue* value) const override;
};
« no previous file with comments | « cc/quads/render_pass.cc ('k') | cc/quads/texture_draw_quad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698