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

Unified Diff: Source/core/inspector/InspectorBaseAgent.h

Issue 1232333002: Fix virtual/override/final usage in the rest of Source/core/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/inspector/InspectorApplicationCacheAgent.h ('k') | Source/core/inspector/InspectorCSSAgent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorBaseAgent.h
diff --git a/Source/core/inspector/InspectorBaseAgent.h b/Source/core/inspector/InspectorBaseAgent.h
index a961ecce10cb2ccd51b302da7f898a0c5f6fc511..077f957ab849f8638c326ab64a5bdae04d67161a 100644
--- a/Source/core/inspector/InspectorBaseAgent.h
+++ b/Source/core/inspector/InspectorBaseAgent.h
@@ -100,15 +100,15 @@ private:
template<typename AgentClass, typename FrontendClass>
class InspectorBaseAgent : public InspectorAgent {
public:
- virtual ~InspectorBaseAgent() { }
+ ~InspectorBaseAgent() override { }
- void setFrontend(InspectorFrontend* frontend) override final
+ void setFrontend(InspectorFrontend* frontend) final
{
ASSERT(!m_frontend);
m_frontend = FrontendClass::from(frontend);
}
- void clearFrontend() override final
+ void clearFrontend() final
{
ErrorString error;
disable(&error);
@@ -116,7 +116,7 @@ public:
m_frontend = nullptr;
}
- virtual void registerInDispatcher(InspectorBackendDispatcher* dispatcher) override final
+ void registerInDispatcher(InspectorBackendDispatcher* dispatcher) final
{
dispatcher->registerAgent(static_cast<AgentClass*>(this));
}
« no previous file with comments | « Source/core/inspector/InspectorApplicationCacheAgent.h ('k') | Source/core/inspector/InspectorCSSAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698