0

Update obsolete TODO with new owner to follow up

The TODO was introduced in crrev.com/c/548875.

Bug: None
Change-Id: I03f6061787278b04976c53c79760447a98c03346
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2227045
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Yi Gu <yigu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#774392}
This commit is contained in:
Yi Gu
2020-06-02 23:26:03 +00:00
committed by Commit Bot
parent 8bee82851b
commit f56a23e360

@ -1587,8 +1587,9 @@ DrawResult LayerTreeHostImpl::PrepareToDraw(FrameData* frame) {
base::saturated_cast<int>(active_tree_->picture_layers().size()), 1,
400, 20);
// TODO(yigu): Maybe we should use the same check above. Need to figure out
// why exactly we skip 0.
// TODO(pdr): Instead of skipping empty picture layers, maybe we should
// accumulate layer->GetRasterSource()->GetMemoryUsage() above and skip
// recording when the accumulated memory usage is 0.
if (!active_tree()->picture_layers().empty()) {
UMA_HISTOGRAM_CUSTOM_COUNTS(
base::StringPrintf("Compositing.%s.GPUMemoryForTilingsInKb",