summaryrefslogtreecommitdiffstats
path: root/mojo/public/cpp/bindings/lib/fixed_buffer.h
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2014-10-21 05:16:28 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-21 12:16:41 +0000
commit3fc12db4bdf0829f206dafbb23d411ff502d7de6 (patch)
tree490d64d00346164d5f7ee866d7d44dc269c632aa /mojo/public/cpp/bindings/lib/fixed_buffer.h
parentc2282aa89148883769f87c74cc3c4608c0933489 (diff)
downloadchromium_src-3fc12db4bdf0829f206dafbb23d411ff502d7de6.zip
chromium_src-3fc12db4bdf0829f206dafbb23d411ff502d7de6.tar.gz
chromium_src-3fc12db4bdf0829f206dafbb23d411ff502d7de6.tar.bz2
Standardize usage of virtual/override/final in mojo/
This patch was automatically generated by applying clang fixit hints generated by the plugin to the source tree. BUG=417463 TBR=mpcomplete@chromium.org Review URL: https://codereview.chromium.org/668663006 Cr-Commit-Position: refs/heads/master@{#300470}
Diffstat (limited to 'mojo/public/cpp/bindings/lib/fixed_buffer.h')
-rw-r--r--mojo/public/cpp/bindings/lib/fixed_buffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mojo/public/cpp/bindings/lib/fixed_buffer.h b/mojo/public/cpp/bindings/lib/fixed_buffer.h
index d23f664..c6cf34e 100644
--- a/mojo/public/cpp/bindings/lib/fixed_buffer.h
+++ b/mojo/public/cpp/bindings/lib/fixed_buffer.h
@@ -38,12 +38,12 @@ namespace internal {
class FixedBuffer : public Buffer {
public:
explicit FixedBuffer(size_t size);
- virtual ~FixedBuffer();
+ ~FixedBuffer() override;
// Grows the buffer by |num_bytes| and returns a pointer to the start of the
// addition. The resulting address is 8-byte aligned, and the content of the
// memory is zero-filled.
- virtual void* Allocate(size_t num_bytes) override;
+ void* Allocate(size_t num_bytes) override;
size_t size() const { return size_; }