summaryrefslogtreecommitdiffstats
path: root/cc/resources/content_layer_updater.cc
diff options
context:
space:
mode:
authorjohnme@chromium.org <johnme@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-22 14:03:04 +0000
committerjohnme@chromium.org <johnme@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-22 14:03:04 +0000
commit7cea3f9a2135854ded769fd9c780f37924cd3b12 (patch)
tree794d5212836af076bef20022dc66f57d4ec61520 /cc/resources/content_layer_updater.cc
parenta2dc874ca1dfc018dbf14fdead4f6cea5b997733 (diff)
downloadchromium_src-7cea3f9a2135854ded769fd9c780f37924cd3b12.zip
chromium_src-7cea3f9a2135854ded769fd9c780f37924cd3b12.tar.gz
chromium_src-7cea3f9a2135854ded769fd9c780f37924cd3b12.tar.bz2
Revert 201498 "Add devtools instrumentation for canvas creation ..."
This is a speculative revert to try and fix build breakage starting with: http://build.chromium.org/p/chromium.linux/builders/Android%20Tests%20%28dbg%29/builds/10905 If it doesn't help, this revert should be reverted :-) > Add devtools instrumentation for canvas creation in BitmapContentLayerUpdater > > Canvas bitmap allocation may take considerable time (close to that of > actual layer update), so having it intrumented helps to reduce "unknown" > time on Timeline. > > - keep layer id in content layer updater, plumb it through all > content layer updaters. > - extract boilerplate of devtools instrumentation classes to a macro; > - add instrumentation around canvas bitmap allocation in > BitmapContentLayerUpdater. > > Related blink change: https://codereview.chromium.org/15466005 > > R=nduca@chromium.org > > Review URL: https://codereview.chromium.org/15317008 TBR=caseq@google.com Review URL: https://codereview.chromium.org/15697005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201510 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/resources/content_layer_updater.cc')
-rw-r--r--cc/resources/content_layer_updater.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/cc/resources/content_layer_updater.cc b/cc/resources/content_layer_updater.cc
index e975cd4..4e967e2 100644
--- a/cc/resources/content_layer_updater.cc
+++ b/cc/resources/content_layer_updater.cc
@@ -19,10 +19,8 @@ namespace cc {
ContentLayerUpdater::ContentLayerUpdater(
scoped_ptr<LayerPainter> painter,
- RenderingStatsInstrumentation* stats_instrumentation,
- int layer_id)
+ RenderingStatsInstrumentation* stats_instrumentation)
: rendering_stats_instrumentation_(stats_instrumentation),
- layer_id_(layer_id),
painter_(painter.Pass()) {}
ContentLayerUpdater::~ContentLayerUpdater() {}