Commit 87389cc0 authored by dongseong.hwang's avatar dongseong.hwang Committed by Commit bot

Make sure GpuMemoryBufferImpl is unmapped on destruction.

BUG=475633

Review URL: https://codereview.chromium.org/1132353003

Cr-Commit-Position: refs/heads/master@{#330782}
parent 2fef2214
......@@ -36,6 +36,7 @@ GpuMemoryBufferImpl::GpuMemoryBufferImpl(gfx::GpuMemoryBufferId id,
}
GpuMemoryBufferImpl::~GpuMemoryBufferImpl() {
DCHECK(!mapped_);
callback_.Run(destruction_sync_point_);
}
......
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