| Index: Source/web/tests/CustomEventTest.cpp
|
| diff --git a/Source/web/tests/CustomEventTest.cpp b/Source/web/tests/CustomEventTest.cpp
|
| index 7ac9520ae61e2cea78a8396d0cbfead9cd9f1c90..4e9c3adeb1e7143be29c67b70546a46d6cd654ca 100644
|
| --- a/Source/web/tests/CustomEventTest.cpp
|
| +++ b/Source/web/tests/CustomEventTest.cpp
|
| @@ -46,21 +46,18 @@
|
| #include "web/WebLocalFrameImpl.h"
|
| #include "web/WebViewImpl.h"
|
| #include "web/tests/FrameTestHelpers.h"
|
| -
|
| #include <gtest/gtest.h>
|
|
|
| -using namespace blink;
|
| -
|
| -namespace {
|
| +namespace blink {
|
|
|
| class TestListener : public V8AbstractEventListener {
|
| public:
|
| - virtual bool operator==(const EventListener&)
|
| + bool operator==(const EventListener&) override
|
| {
|
| return true;
|
| }
|
|
|
| - virtual void handleEvent(ScriptState* scriptState, Event* event)
|
| + void handleEvent(ScriptState* scriptState, Event* event) override
|
| {
|
| EXPECT_EQ(event->type(), "blah");
|
|
|
| @@ -82,7 +79,7 @@ private:
|
| {
|
| }
|
|
|
| - virtual v8::Local<v8::Value> callListenerFunction(ScriptState*, v8::Local<v8::Value>, Event*)
|
| + v8::Local<v8::Value> callListenerFunction(ScriptState*, v8::Local<v8::Value>, Event*) override
|
| {
|
| ASSERT_NOT_REACHED();
|
| return v8::Local<v8::Value>();
|
| @@ -116,4 +113,4 @@ TEST(CustomEventTest, InitWithSerializedScriptValue)
|
| Platform::current()->unitTestSupport()->unregisterAllMockedURLs();
|
| }
|
|
|
| -}
|
| +} // namespace blink
|
|
|