diff options
Diffstat (limited to 'cc/layers/heads_up_display_unittest.cc')
-rw-r--r-- | cc/layers/heads_up_display_unittest.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cc/layers/heads_up_display_unittest.cc b/cc/layers/heads_up_display_unittest.cc index 37d40a8..312e482 100644 --- a/cc/layers/heads_up_display_unittest.cc +++ b/cc/layers/heads_up_display_unittest.cc @@ -12,7 +12,7 @@ namespace { class HeadsUpDisplayTest : public LayerTreeTest { protected: - virtual void InitializeSettings(LayerTreeSettings* settings) override { + void InitializeSettings(LayerTreeSettings* settings) override { // Enable the HUD without requiring text. settings->initial_debug_state.show_property_changed_rects = true; } @@ -23,11 +23,11 @@ class DrawsContentLayer : public Layer { static scoped_refptr<DrawsContentLayer> Create() { return make_scoped_refptr(new DrawsContentLayer()); } - virtual bool DrawsContent() const override { return true; } + bool DrawsContent() const override { return true; } private: DrawsContentLayer() : Layer() {} - virtual ~DrawsContentLayer() {} + ~DrawsContentLayer() override {} }; class HudWithRootLayerChange : public HeadsUpDisplayTest { @@ -37,14 +37,14 @@ class HudWithRootLayerChange : public HeadsUpDisplayTest { root_layer2_(DrawsContentLayer::Create()), num_commits_(0) {} - virtual void BeginTest() override { + void BeginTest() override { root_layer1_->SetBounds(gfx::Size(30, 30)); root_layer2_->SetBounds(gfx::Size(30, 30)); PostSetNeedsCommitToMainThread(); } - virtual void DidCommit() override { + void DidCommit() override { ++num_commits_; ASSERT_TRUE(layer_tree_host()->hud_layer()); @@ -86,7 +86,7 @@ class HudWithRootLayerChange : public HeadsUpDisplayTest { } } - virtual void AfterTest() override {} + void AfterTest() override {} private: scoped_refptr<DrawsContentLayer> root_layer1_; |