Commit 916f273d authored by ericrk's avatar ericrk Committed by Commit bot

Remove ShallowFlushCHROMIUM after resource deletion

I unintentionally added this to an unrelated CL, didn't mean to commit.

R=vmpstr,reveman
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel

Review-Url: https://codereview.chromium.org/2625033003
Cr-Commit-Position: refs/heads/master@{#443011}
parent 52c36a8d
......@@ -824,9 +824,6 @@ void ResourceProvider::DeleteResourceInternal(ResourceMap::iterator it,
DCHECK(gl);
gl->DeleteTextures(1, &resource->gl_id);
resource->gl_id = 0;
// Shallow flush after deleting a texture to make sure the memory is freed
// as soon as possible.
gl->ShallowFlushCHROMIUM();
}
if (resource->shared_bitmap) {
DCHECK(resource->origin != Resource::EXTERNAL);
......
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