diff options
author | dcheng <dcheng@chromium.org> | 2014-10-21 02:51:08 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-21 09:51:37 +0000 |
commit | 716bedf160f4c4c1945cab54c3f490424a0eb779 (patch) | |
tree | c9592751a48527e3278a8a1e001b0569c97ff1d5 /cc/surfaces/surface_aggregator_unittest.cc | |
parent | 6c879fbd35d14af9ca4fe53bc622edac2d3fd5f1 (diff) | |
download | chromium_src-716bedf160f4c4c1945cab54c3f490424a0eb779.zip chromium_src-716bedf160f4c4c1945cab54c3f490424a0eb779.tar.gz chromium_src-716bedf160f4c4c1945cab54c3f490424a0eb779.tar.bz2 |
Standardize usage of virtual/override/final in cc/
BUG=417463
TBR=enne@chromium.org
Review URL: https://codereview.chromium.org/645853008
Cr-Commit-Position: refs/heads/master@{#300439}
Diffstat (limited to 'cc/surfaces/surface_aggregator_unittest.cc')
-rw-r--r-- | cc/surfaces/surface_aggregator_unittest.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/cc/surfaces/surface_aggregator_unittest.cc b/cc/surfaces/surface_aggregator_unittest.cc index 243a9a4..ef369f4 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; } |