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

Unified Diff: Source/core/html/HTMLImageElement.cpp

Issue 635793002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/html (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/html/HTMLImageElement.h ('k') | Source/core/html/HTMLImageLoader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « Source/core/html/HTMLImageElement.h ('k') | Source/core/html/HTMLImageLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698