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

Unified Diff: cc/quads/tile_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/texture_draw_quad.h ('k') | components/bitmap_uploader/bitmap_uploader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/tile_draw_quad.h
diff --git a/cc/quads/tile_draw_quad.h b/cc/quads/tile_draw_quad.h
index d13ac97e2d9c0048c9096062a026aa8f5caa691a..893126a6ffd964ed3aca6038379c74ffeb3bbfe4 100644
--- a/cc/quads/tile_draw_quad.h
+++ b/cc/quads/tile_draw_quad.h
@@ -13,6 +13,8 @@ namespace cc {
class CC_EXPORT TileDrawQuad : public ContentDrawQuadBase {
public:
+ static const size_t kResourceIdIndex = 0;
+
TileDrawQuad();
~TileDrawQuad() override;
@@ -48,8 +50,6 @@ class CC_EXPORT TileDrawQuad : public ContentDrawQuadBase {
ResourceId resource_id() const { return resources.ids[kResourceIdIndex]; }
private:
- static const size_t kResourceIdIndex = 0;
-
void ExtendValue(base::trace_event::TracedValue* value) const override;
};
« no previous file with comments | « cc/quads/texture_draw_quad.h ('k') | components/bitmap_uploader/bitmap_uploader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698