Chromium Code Reviews| Index: content/common/cc_messages.h |
| diff --git a/content/common/cc_messages.h b/content/common/cc_messages.h |
| index b1271b30b61e8e9418d05905e12aec31dc2cb2f4..f5bb6f16e145b71616590a4309b9d5c9ff1f9730 100644 |
| --- a/content/common/cc_messages.h |
| +++ b/content/common/cc_messages.h |
| @@ -77,6 +77,7 @@ template <> |
| struct CONTENT_EXPORT ParamTraits<cc::RenderPass> { |
| typedef cc::RenderPass param_type; |
| static void Write(Message* m, const param_type& p); |
| + static size_t ReserveSizeForWrite(const param_type& p); |
|
Tom Sepez
2013/10/24 17:48:06
I'm not sure making this a method of this particul
danakj
2013/10/24 17:51:38
Alright. I wanted to keep it close to the Write()
|
| static bool Read(const Message* m, PickleIterator* iter, param_type* r); |
| static void Log(const param_type& p, std::string* l); |
| }; |