Commit 57f61b6c authored by Kramer Ge's avatar Kramer Ge Committed by Commit Bot

InProcessCommandBuffer creates SharedImageFactory with non-null tracker

context_group_ has a memory tracker, which can be constructed if not
on webview.

Change-Id: I89fee9e7f96a5503a4db4b838c45a64c066fc6e5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1951579Reviewed-by: default avatarPeng Huang <penghuang@chromium.org>
Reviewed-by: default avatarJonathan Ross <jonross@chromium.org>
Commit-Queue: Kramer Ge <fangzhoug@chromium.org>
Cr-Commit-Position: refs/heads/master@{#722482}
parent 12bc6093
......@@ -1487,7 +1487,8 @@ void InProcessCommandBuffer::LazyCreateSharedImageFactory() {
GetGpuPreferences(), context_group_->feature_info()->workarounds(),
GetGpuFeatureInfo(), context_state_.get(),
context_group_->mailbox_manager(), task_executor_->shared_image_manager(),
image_factory_, nullptr, enable_wrapped_sk_image);
image_factory_, context_group_->memory_tracker(),
enable_wrapped_sk_image);
}
void InProcessCommandBuffer::CreateSharedImageOnGpuThread(
......
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