未验证 提交 1a8534cb 编写于 作者: D Dan Field 提交者: GitHub

Revert "Increase the memory usage estimate for EngineLayer (#8700)" (#8738)

This reverts commit 30fb4a69.
上级 d2703b4e
......@@ -24,9 +24,7 @@ size_t EngineLayer::GetAllocationSize() {
// Provide an approximation of the total memory impact of this object to the
// Dart GC. The ContainerLayer may hold references to a tree of other layers,
// which in turn may contain Skia objects.
// TODO(https://github.com/flutter/flutter/issues/31498): calculate the cost
// of the layer more accurately.
return 200000;
return 3000;
};
IMPLEMENT_WRAPPERTYPEINFO(ui, EngineLayer);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册