Chromium Code Reviews| Index: cc/render_pass_sink.h |
| diff --git a/cc/render_pass_sink.h b/cc/render_pass_sink.h |
| index ae00f62fb4a27c900a122974a575a14722b81d97..16ea27eaecb0ecc9fea987950aa6a7a54aded0dc 100644 |
| --- a/cc/render_pass_sink.h |
| +++ b/cc/render_pass_sink.h |
| @@ -15,6 +15,8 @@ class RenderPass; |
| class CC_EXPORT RenderPassSink { |
| public: |
| virtual void appendRenderPass(scoped_ptr<RenderPass>) = 0; |
| +protected: |
|
jar (doing other things)
2013/01/28 17:02:58
nit: Add white space line before line 18. .... if
|
| + virtual ~RenderPassSink() { } |
|
jamesr
2013/01/28 19:20:43
not sure this one is really necessary. nobody take
Paweł Hajdan Jr.
2013/01/28 19:55:49
That's why it's protected. This seems to be a conv
jamesr
2013/01/28 20:13:46
Protected and non-virtual seems like the right cho
Paweł Hajdan Jr.
2013/01/29 09:40:22
Alright, so we have agreed on protected. Good. :)
jar (doing other things)
2013/01/29 17:58:22
Simple rule of thumb: If you have any virtual func
jamesr
2013/01/29 18:52:20
Actually, I think this file is perfectly fine as-i
Paweł Hajdan Jr.
2013/01/30 10:00:28
Please see the bug and earlier comments. I removed
|
| }; |
| } |