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

Unified Diff: cc/render_pass_sink.h

Issue 12086018: GTTF: Add missing virtual destructors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 11 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/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
};
}
« cc/rate_limiter.h ('K') | « cc/rate_limiter.h ('k') | cc/video_frame_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698