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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder.cc

Issue 419073008: Simplified GPU Tracer by removing parent base class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed paren mismatch Created 6 years, 4 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') | gpu/command_buffer/service/gpu_tracer.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
index 8d3358757aa7a50c07391d23edb6e9a6cfd70b7a..c4cbbf52567a51e47f101a4ba7c0dffb9ddf8995 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -2343,7 +2343,7 @@ bool GLES2DecoderImpl::Initialize(
DCHECK(!context_.get());
set_initialized();
- gpu_tracer_ = GPUTracer::Create(this);
+ gpu_tracer_.reset(new GPUTracer(this));
gpu_state_tracer_ = GPUStateTracer::Create(&state_);
// TODO(vmiura): Enable changing gpu_trace_level_ at runtime
gpu_trace_level_ = 2;
« no previous file with comments | « no previous file | gpu/command_buffer/service/gpu_tracer.h » ('j') | gpu/command_buffer/service/gpu_tracer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698