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

Unified Diff: cc/quads/texture_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_draw_quad.h ('k') | cc/quads/tile_draw_quad.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/texture_draw_quad.h
diff --git a/cc/quads/texture_draw_quad.h b/cc/quads/texture_draw_quad.h
index c9dd0df01ea94c6e91ee43f6f2b01f7ace3f1883..3e91eb5dca1bab9ece400cf7bc542d7ffa0ae3d7 100644
--- a/cc/quads/texture_draw_quad.h
+++ b/cc/quads/texture_draw_quad.h
@@ -17,6 +17,8 @@ namespace cc {
class CC_EXPORT TextureDrawQuad : public DrawQuad {
public:
+ static const size_t kResourceIdIndex = 0;
+
TextureDrawQuad();
TextureDrawQuad(const TextureDrawQuad& other);
@@ -77,8 +79,6 @@ class CC_EXPORT TextureDrawQuad : public DrawQuad {
static const TextureDrawQuad* MaterialCast(const DrawQuad*);
private:
- static const size_t kResourceIdIndex = 0;
-
void ExtendValue(base::trace_event::TracedValue* value) const override;
};
« no previous file with comments | « cc/quads/render_pass_draw_quad.h ('k') | cc/quads/tile_draw_quad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698