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

Unified Diff: gpu/command_buffer/service/command_executor.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 | « no previous file | gpu/command_buffer/service/gpu_tracer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/command_executor.h
diff --git a/gpu/command_buffer/service/command_executor.h b/gpu/command_buffer/service/command_executor.h
index 99d304830c9cd759772dfec049a07ee124ab111c..dbfbd564aea1dff5352b385e7c54352f252c1587 100644
--- a/gpu/command_buffer/service/command_executor.h
+++ b/gpu/command_buffer/service/command_executor.h
@@ -13,7 +13,6 @@
#include "base/callback.h"
#include "base/macros.h"
#include "base/memory/shared_memory.h"
-#include "base/memory/weak_ptr.h"
#include "gpu/command_buffer/service/async_api_interface.h"
#include "gpu/command_buffer/service/cmd_buffer_engine.h"
#include "gpu/command_buffer/service/command_buffer_service.h"
@@ -27,8 +26,7 @@ namespace gpu {
// class should not know about the decoder. Do not add additional dependencies
// on it.
class GPU_EXPORT CommandExecutor
- : NON_EXPORTED_BASE(public CommandBufferEngine),
- public base::SupportsWeakPtr<CommandExecutor> {
+ : NON_EXPORTED_BASE(public CommandBufferEngine) {
public:
static const int kParseCommandsSlice = 20;
« no previous file with comments | « no previous file | gpu/command_buffer/service/gpu_tracer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698