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 |