Commit 43bb82c2 authored by pliard@chromium.org's avatar pliard@chromium.org

Remove stale 'virtual' in DiscardableMemoryAllocator.

DiscardableMemoryAllocator::AshmemRegion used to implement an interface but this
is not the case anymore therefore there is no reason to keep ~AshmemRegion()
virtual (since AshmemRegion is/should never be subclassed either).

TBR=willchan@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245520 0039d316-1c4b-4281-b951-d872f2087c98
parent e561d999
...@@ -124,7 +124,7 @@ class DiscardableMemoryAllocator::AshmemRegion { ...@@ -124,7 +124,7 @@ class DiscardableMemoryAllocator::AshmemRegion {
return make_scoped_ptr(new AshmemRegion(fd, size, base, allocator)); return make_scoped_ptr(new AshmemRegion(fd, size, base, allocator));
} }
virtual ~AshmemRegion() { ~AshmemRegion() {
const bool result = internal::CloseAshmemRegion(fd_, size_, base_); const bool result = internal::CloseAshmemRegion(fd_, size_, base_);
DCHECK(result); DCHECK(result);
} }
......
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