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

Unified Diff: content/shell/tools/plugin/Tests/NPRuntimeRemoveProperty.cpp

Issue 671663002: Standardize usage of virtual/override/final in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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
Index: content/shell/tools/plugin/Tests/NPRuntimeRemoveProperty.cpp
diff --git a/content/shell/tools/plugin/Tests/NPRuntimeRemoveProperty.cpp b/content/shell/tools/plugin/Tests/NPRuntimeRemoveProperty.cpp
index 929bce3669089e7820f18bb37ff4eddd20e53952..e46d58f0bc05e3d067d8dcde81009633a112408d 100644
--- a/content/shell/tools/plugin/Tests/NPRuntimeRemoveProperty.cpp
+++ b/content/shell/tools/plugin/Tests/NPRuntimeRemoveProperty.cpp
@@ -92,8 +92,7 @@ private:
{
}
- virtual ~PluginObject()
- {
+ ~PluginObject() override {
if (m_testObject)
pluginTest()->NPN_ReleaseObject(m_testObject);
}
@@ -159,7 +158,7 @@ private:
NPObject* m_testObject;
};
- virtual NPError NPP_GetValue(NPPVariable variable, void* value) override {
+ NPError NPP_GetValue(NPPVariable variable, void* value) override {
if (variable != NPPVpluginScriptableNPObject)
return NPERR_GENERIC_ERROR;

Powered by Google App Engine
This is Rietveld 408576698