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

Unified Diff: Source/core/testing/Internals.cpp

Issue 636913002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/testing (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
« no previous file with comments | « Source/core/testing/Internals.h ('k') | Source/core/testing/LayerRect.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/Internals.cpp
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
index 63bc51217f5ec6a9249eb6a40632d2b3f8e56d8f..ba818785dd3949f1bfa730620d58e888b7233786 100644
--- a/Source/core/testing/Internals.cpp
+++ b/Source/core/testing/Internals.cpp
@@ -148,11 +148,11 @@ namespace blink {
namespace {
-class InternalsIterator FINAL : public Iterator {
+class InternalsIterator final : public Iterator {
public:
InternalsIterator() : m_current(0) { }
- virtual ScriptValue next(ScriptState* scriptState, ExceptionState& exceptionState) OVERRIDE
+ virtual ScriptValue next(ScriptState* scriptState, ExceptionState& exceptionState) override
{
v8::Isolate* isolate = scriptState->isolate();
int value = m_current * m_current;
@@ -162,7 +162,7 @@ public:
return ScriptValue(scriptState, v8IteratorResult(scriptState, value));
}
- virtual ScriptValue next(ScriptState* scriptState, ScriptValue value, ExceptionState& exceptionState) OVERRIDE
+ virtual ScriptValue next(ScriptState* scriptState, ScriptValue value, ExceptionState& exceptionState) override
{
exceptionState.throwTypeError("Not implemented");
return ScriptValue();
@@ -2117,7 +2117,7 @@ private:
{
}
- virtual ScriptValue call(ScriptValue value) OVERRIDE
+ virtual ScriptValue call(ScriptValue value) override
{
v8::Local<v8::Value> v8Value = value.v8Value();
ASSERT(v8Value->IsNumber());
« no previous file with comments | « Source/core/testing/Internals.h ('k') | Source/core/testing/LayerRect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698