diff options
author | caseq@chromium.org <caseq@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-04 15:19:16 +0000 |
---|---|---|
committer | caseq@chromium.org <caseq@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-04 15:19:16 +0000 |
commit | f32e8eee18ec0a01b6fa011cd349ca065b57acff (patch) | |
tree | ef36d078ad7d6e6eb6881f6bc6218f7ad34e3910 /cc | |
parent | 716e3e5e5fc8a7164882a98443a92e437b6e954a (diff) | |
download | chromium_src-f32e8eee18ec0a01b6fa011cd349ca065b57acff.zip chromium_src-f32e8eee18ec0a01b6fa011cd349ca065b57acff.tar.gz chromium_src-f32e8eee18ec0a01b6fa011cd349ca065b57acff.tar.bz2 |
cc: remove unused devtools_instrumentation events
As a follow-up to r238586 and blink r162771, remove devtools_instrumentation
constants that are no long used in cc and do not generate events that are
no longer processed by Timeline.
TBR=enne,danakj
BUG=322207
Review URL: https://codereview.chromium.org/103703003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238700 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc')
-rw-r--r-- | cc/debug/devtools_instrumentation.h | 2 | ||||
-rw-r--r-- | cc/resources/bitmap_content_layer_updater.cc | 2 | ||||
-rw-r--r-- | cc/resources/tile_manager.cc | 1 | ||||
-rw-r--r-- | cc/trees/thread_proxy.cc | 1 |
4 files changed, 0 insertions, 6 deletions
diff --git a/cc/debug/devtools_instrumentation.h b/cc/debug/devtools_instrumentation.h index f44dd84..3caa81e 100644 --- a/cc/debug/devtools_instrumentation.h +++ b/cc/debug/devtools_instrumentation.h @@ -22,10 +22,8 @@ const char kBeginFrame[] = "BeginFrame"; const char kActivateLayerTree[] = "ActivateLayerTree"; } // namespace internal -const char kPaintLayer[] = "PaintLayer"; const char kRasterTask[] = "RasterTask"; const char kPaintSetup[] = "PaintSetup"; -const char kUpdateLayer[] = "UpdateLayer"; class ScopedLayerTask { public: diff --git a/cc/resources/bitmap_content_layer_updater.cc b/cc/resources/bitmap_content_layer_updater.cc index 14b1066..fd0fbda 100644 --- a/cc/resources/bitmap_content_layer_updater.cc +++ b/cc/resources/bitmap_content_layer_updater.cc @@ -59,8 +59,6 @@ void BitmapContentLayerUpdater::PrepareToUpdate( float contents_width_scale, float contents_height_scale, gfx::Rect* resulting_opaque_rect) { - devtools_instrumentation::ScopedLayerTask paint_layer( - devtools_instrumentation::kPaintLayer, layer_id_); if (canvas_size_ != content_rect.size()) { devtools_instrumentation::ScopedLayerTask paint_setup( devtools_instrumentation::kPaintSetup, layer_id_); diff --git a/cc/resources/tile_manager.cc b/cc/resources/tile_manager.cc index b443516..b035a32 100644 --- a/cc/resources/tile_manager.cc +++ b/cc/resources/tile_manager.cc @@ -12,7 +12,6 @@ #include "base/json/json_writer.h" #include "base/logging.h" #include "base/metrics/histogram.h" -#include "cc/debug/devtools_instrumentation.h" #include "cc/debug/traced_value.h" #include "cc/resources/image_raster_worker_pool.h" #include "cc/resources/pixel_buffer_raster_worker_pool.h" diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc index 8958004..9624a2d 100644 --- a/cc/trees/thread_proxy.cc +++ b/cc/trees/thread_proxy.cc @@ -12,7 +12,6 @@ #include "base/metrics/histogram.h" #include "cc/base/swap_promise.h" #include "cc/debug/benchmark_instrumentation.h" -#include "cc/debug/devtools_instrumentation.h" #include "cc/input/input_handler.h" #include "cc/output/context_provider.h" #include "cc/output/output_surface.h" |