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

Unified Diff: Source/wtf/TypedArrayBase.h

Issue 134663006: Update WTF classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/wtf/TypedArrayBase.h
diff --git a/Source/wtf/TypedArrayBase.h b/Source/wtf/TypedArrayBase.h
index b537188bd9046a7608d18638623700237cae1d46..491a3381f9241225dc34081509fd90f2291f934b 100644
--- a/Source/wtf/TypedArrayBase.h
+++ b/Source/wtf/TypedArrayBase.h
@@ -60,7 +60,7 @@ class TypedArrayBase : public ArrayBufferView {
return m_length;
}
- virtual unsigned byteLength() const
+ virtual unsigned byteLength() const OVERRIDE FINAL
{
return m_length * sizeof(T);
}
@@ -137,7 +137,7 @@ protected:
return create<Subclass>(buffer(), offset, length);
}
- virtual void neuter()
+ virtual void neuter() OVERRIDE FINAL
eseidel 2014/01/11 02:38:01 Very strange choice of method name.
{
ArrayBufferView::neuter();
m_length = 0;
« no previous file with comments | « Source/wtf/Int8Array.h ('k') | Source/wtf/Uint16Array.h » ('j') | Source/wtf/Uint32Array.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698