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

Unified Diff: cc/surfaces/surface_aggregator_unittest.cc

Issue 645853008: Standardize usage of virtual/override/final in cc/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formatted 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 | « cc/surfaces/display.h ('k') | cc/surfaces/surface_factory_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_aggregator_unittest.cc
diff --git a/cc/surfaces/surface_aggregator_unittest.cc b/cc/surfaces/surface_aggregator_unittest.cc
index 243a9a43e69ed676fa882b50ed1345201e41c40c..ef369f407d92afbf314876aba2fb093950145a49 100644
--- a/cc/surfaces/surface_aggregator_unittest.cc
+++ b/cc/surfaces/surface_aggregator_unittest.cc
@@ -42,8 +42,7 @@ gfx::Size SurfaceSize() {
class EmptySurfaceFactoryClient : public SurfaceFactoryClient {
public:
- virtual void ReturnResources(
- const ReturnedResourceArray& resources) override {}
+ void ReturnResources(const ReturnedResourceArray& resources) override {}
};
class SurfaceAggregatorTest : public testing::Test {
@@ -1147,10 +1146,9 @@ class SurfaceAggregatorWithResourcesTest : public testing::Test {
class ResourceTrackingSurfaceFactoryClient : public SurfaceFactoryClient {
public:
ResourceTrackingSurfaceFactoryClient() {}
- virtual ~ResourceTrackingSurfaceFactoryClient() {}
+ ~ResourceTrackingSurfaceFactoryClient() override {}
- virtual void ReturnResources(
- const ReturnedResourceArray& resources) override {
+ void ReturnResources(const ReturnedResourceArray& resources) override {
returned_resources_ = resources;
}
« no previous file with comments | « cc/surfaces/display.h ('k') | cc/surfaces/surface_factory_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698