Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Unified Diff: src/d8.cc

Issue 797943002: Consistently use only one of virtual/OVERRIDE/FINAL. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Removed temporary hack. Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/value-numbering-reducer.h ('k') | src/elements.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/d8.cc
diff --git a/src/d8.cc b/src/d8.cc
index 44a4a81e32c65f7781403b9e148e971e0259360c..653e36694d0c8d9bd94c7e3baaf3c8af3433f08a 100644
--- a/src/d8.cc
+++ b/src/d8.cc
@@ -1539,15 +1539,9 @@ class ShellArrayBufferAllocator : public v8::ArrayBuffer::Allocator {
class MockArrayBufferAllocator : public v8::ArrayBuffer::Allocator {
public:
- virtual void* Allocate(size_t) OVERRIDE {
- return malloc(0);
- }
- virtual void* AllocateUninitialized(size_t length) OVERRIDE {
- return malloc(0);
- }
- virtual void Free(void* p, size_t) OVERRIDE {
- free(p);
- }
+ void* Allocate(size_t) OVERRIDE { return malloc(0); }
+ void* AllocateUninitialized(size_t length) OVERRIDE { return malloc(0); }
+ void Free(void* p, size_t) OVERRIDE { free(p); }
};
« no previous file with comments | « src/compiler/value-numbering-reducer.h ('k') | src/elements.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698