Index: cc/raster/scoped_gpu_raster.cc |
diff --git a/cc/raster/scoped_gpu_raster.cc b/cc/raster/scoped_gpu_raster.cc |
index f548515b6985084a5ef6fc7b016c3d3e4c00e727..e6dcf231ba2dcda9036566c79c34e9c2651b54aa 100644 |
--- a/cc/raster/scoped_gpu_raster.cc |
+++ b/cc/raster/scoped_gpu_raster.cc |
@@ -27,7 +27,7 @@ void ScopedGpuRaster::BeginGpuRaster() { |
// TODO(alokp): Use a trace macro to push/pop markers. |
// Using push/pop functions directly incurs cost to evaluate function |
// arguments even when tracing is disabled. |
- gl->PushGroupMarkerEXT(0, "GpuRasterization"); |
+ gl->TraceBeginCHROMIUM("ScopedGpuRaster", "GpuRasterization"); |
class GrContext* gr_context = context_provider_->GrContext(); |
gr_context->resetContext(); |
@@ -45,7 +45,7 @@ void ScopedGpuRaster::EndGpuRaster() { |
// TODO(alokp): Use a trace macro to push/pop markers. |
// Using push/pop functions directly incurs cost to evaluate function |
// arguments even when tracing is disabled. |
- gl->PopGroupMarkerEXT(); |
+ gl->TraceEndCHROMIUM(); |
} |
} // namespace cc |