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

Unified Diff: content/common/gpu/gpu_watchdog.h

Issue 10383262: RefCounted types should not have public destructors, delegate cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make win bot happy Created 8 years, 6 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
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.h ('k') | content/common/gpu/image_transport_surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_watchdog.h
diff --git a/content/common/gpu/gpu_watchdog.h b/content/common/gpu/gpu_watchdog.h
index 4d20b0d372f82742e4a15882c8e76556d7cc6b6d..4371938fd8e8a9187063cdf1df8268bdf65148e2 100644
--- a/content/common/gpu/gpu_watchdog.h
+++ b/content/common/gpu/gpu_watchdog.h
@@ -9,14 +9,12 @@
// GPUProcessor will regularly invoke CheckArmed.
class GpuWatchdog {
public:
- GpuWatchdog() {
- }
-
- virtual ~GpuWatchdog() {
- };
-
virtual void CheckArmed() = 0;
+ protected:
+ GpuWatchdog() {}
+ virtual ~GpuWatchdog() {};
+
private:
DISALLOW_COPY_AND_ASSIGN(GpuWatchdog);
};
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.h ('k') | content/common/gpu/image_transport_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698