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

Unified Diff: Source/bindings/core/v8/custom/V8ArrayBufferCustom.h

Issue 638813002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/bindings (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months 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
Index: Source/bindings/core/v8/custom/V8ArrayBufferCustom.h
diff --git a/Source/bindings/core/v8/custom/V8ArrayBufferCustom.h b/Source/bindings/core/v8/custom/V8ArrayBufferCustom.h
index 03702112a067c44f961b44b577860c5f1af4982e..f77ee628bda6dcdaba81430f7d05c434fc00f35d 100644
--- a/Source/bindings/core/v8/custom/V8ArrayBufferCustom.h
+++ b/Source/bindings/core/v8/custom/V8ArrayBufferCustom.h
@@ -34,16 +34,16 @@
namespace blink {
-class V8ArrayBufferDeallocationObserver FINAL: public WTF::ArrayBufferDeallocationObserver {
+class V8ArrayBufferDeallocationObserver final: public WTF::ArrayBufferDeallocationObserver {
public:
- virtual void arrayBufferDeallocated(unsigned sizeInBytes) OVERRIDE
+ virtual void arrayBufferDeallocated(unsigned sizeInBytes) override
{
v8::Isolate::GetCurrent()->AdjustAmountOfExternalAllocatedMemory(-static_cast<int>(sizeInBytes));
}
static V8ArrayBufferDeallocationObserver* instanceTemplate();
protected:
- virtual void blinkAllocatedMemory(unsigned sizeInBytes) OVERRIDE
+ virtual void blinkAllocatedMemory(unsigned sizeInBytes) override
{
v8::Isolate::GetCurrent()->AdjustAmountOfExternalAllocatedMemory(static_cast<int>(sizeInBytes));
}
« no previous file with comments | « Source/bindings/core/v8/WorkerScriptDebugServer.h ('k') | Source/bindings/core/v8/custom/V8CustomXPathNSResolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698