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

Unified Diff: gpu/command_buffer/service/gpu_tracer.h

Issue 2892923002: Remove SupportsWeakPtr from GPUTracer and CommandExecutor (Closed)
Patch Set: Created 3 years, 7 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 | « gpu/command_buffer/service/command_executor.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gpu_tracer.h
diff --git a/gpu/command_buffer/service/gpu_tracer.h b/gpu/command_buffer/service/gpu_tracer.h
index 37bd617552badaa5701d6dafd863e0699cef7251..746ebd08f7e194207d32e3774e54293548878f01 100644
--- a/gpu/command_buffer/service/gpu_tracer.h
+++ b/gpu/command_buffer/service/gpu_tracer.h
@@ -15,7 +15,6 @@
#include <vector>
#include "base/macros.h"
-#include "base/memory/weak_ptr.h"
#include "base/threading/thread.h"
#include "gpu/command_buffer/service/gles2_cmd_decoder.h"
#include "gpu/gpu_export.h"
@@ -54,8 +53,7 @@ struct TraceMarker {
};
// Traces GPU Commands.
-class GPU_EXPORT GPUTracer
- : public base::SupportsWeakPtr<GPUTracer> {
+class GPU_EXPORT GPUTracer {
public:
explicit GPUTracer(gles2::GLES2Decoder* decoder);
virtual ~GPUTracer();
« no previous file with comments | « gpu/command_buffer/service/command_executor.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698