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

Unified Diff: cc/CCDrawQuad.h

Issue 10915298: Add CCDelegatingRenderer, and corresponding IPCs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge fix Created 8 years, 2 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/CCDrawQuad.h
diff --git a/cc/CCDrawQuad.h b/cc/CCDrawQuad.h
index 05a69065468192a161ea93de87601fab0119a7cd..49cca18322985cb64bb3f4f42a0b9cb26e767598 100644
--- a/cc/CCDrawQuad.h
+++ b/cc/CCDrawQuad.h
@@ -7,6 +7,10 @@
#include "CCSharedQuadState.h"
+namespace IPC {
+template <class P> struct ParamTraits;
+};
+
namespace cc {
// WARNING! All CCXYZDrawQuad classes must remain PODs (plain old data).
@@ -66,6 +70,7 @@ public:
void setSharedQuadState(const CCSharedQuadState*);
protected:
+ friend struct IPC::ParamTraits<CCDrawQuad>;
CCDrawQuad(const CCSharedQuadState*, Material, const IntRect&);
// Stores state common to a large bundle of quads; kept separate for memory

Powered by Google App Engine
This is Rietveld 408576698