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

Unified Diff: content/browser/gpu/gpu_data_manager_impl_private_unittest.cc

Issue 667943003: Standardize usage of virtual/override/final in content/browser/ (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
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl.h ('k') | content/browser/gpu/gpu_internals_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_data_manager_impl_private_unittest.cc
diff --git a/content/browser/gpu/gpu_data_manager_impl_private_unittest.cc b/content/browser/gpu/gpu_data_manager_impl_private_unittest.cc
index 312dd9e0463030d5e5c634581b9e827f6a41ebdb..00963fe3eb9f04920a9eaca420f9c66a15ddad60 100644
--- a/content/browser/gpu/gpu_data_manager_impl_private_unittest.cc
+++ b/content/browser/gpu/gpu_data_manager_impl_private_unittest.cc
@@ -29,18 +29,16 @@ class TestObserver : public GpuDataManagerObserver {
: gpu_info_updated_(false),
video_memory_usage_stats_updated_(false) {
}
- virtual ~TestObserver() { }
+ ~TestObserver() override {}
bool gpu_info_updated() const { return gpu_info_updated_; }
bool video_memory_usage_stats_updated() const {
return video_memory_usage_stats_updated_;
}
- virtual void OnGpuInfoUpdate() override {
- gpu_info_updated_ = true;
- }
+ void OnGpuInfoUpdate() override { gpu_info_updated_ = true; }
- virtual void OnVideoMemoryUsageStatsUpdate(
+ void OnVideoMemoryUsageStatsUpdate(
const GPUVideoMemoryUsageStats& stats) override {
video_memory_usage_stats_updated_ = true;
}
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl.h ('k') | content/browser/gpu/gpu_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698