Index: Source/core/html/HTMLImageElement.cpp |
diff --git a/Source/core/html/HTMLImageElement.cpp b/Source/core/html/HTMLImageElement.cpp |
index 6590e64a2d5c2d6e847a498c7e15da308d06366e..9017a2dfb76683ad056dee5b15b694d7d86864ef 100644 |
--- a/Source/core/html/HTMLImageElement.cpp |
+++ b/Source/core/html/HTMLImageElement.cpp |
@@ -50,14 +50,14 @@ namespace blink { |
using namespace HTMLNames; |
-class HTMLImageElement::ViewportChangeListener FINAL : public MediaQueryListListener { |
+class HTMLImageElement::ViewportChangeListener final : public MediaQueryListListener { |
public: |
static RefPtrWillBeRawPtr<ViewportChangeListener> create(HTMLImageElement* element) |
{ |
return adoptRefWillBeNoop(new ViewportChangeListener(element)); |
} |
- virtual void notifyMediaQueryChanged() OVERRIDE |
+ virtual void notifyMediaQueryChanged() override |
{ |
if (m_element) |
m_element->notifyViewportChanged(); |
@@ -66,7 +66,7 @@ public: |
#if !ENABLE(OILPAN) |
void clearElement() { m_element = nullptr; } |
#endif |
- virtual void trace(Visitor* visitor) OVERRIDE |
+ virtual void trace(Visitor* visitor) override |
{ |
visitor->trace(m_element); |
MediaQueryListListener::trace(visitor); |