Commit 5b5f332b authored by Vladimir Levin's avatar Vladimir Levin Committed by Commit Bot

cc: Move DisplayItemList::Finalize into a cc.debug category.

This is called frequently and might be skewing parent slice times when
tracing.

R=chrishtr@chromium.org

Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;master.tryserver.blink:linux_trusty_blink_rel
Change-Id: Ibfc3f81b78b191a5a7e1dfc44933796337763ca7
Reviewed-on: https://chromium-review.googlesource.com/1137337Reviewed-by: default avatarChris Harrelson <chrishtr@chromium.org>
Commit-Queue: vmpstr <vmpstr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#575124}
parent 7e115d5d
......@@ -56,7 +56,8 @@ void DisplayItemList::Raster(SkCanvas* canvas,
}
void DisplayItemList::Finalize() {
TRACE_EVENT0("cc", "DisplayItemList::Finalize");
TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("cc.debug"),
"DisplayItemList::Finalize");
#if DCHECK_IS_ON()
// If this fails a call to StartPaint() was not ended.
DCHECK(!IsPainting());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment