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

Unified Diff: ui/compositor/scoped_layer_animation_settings.cc

Issue 667923002: Standardize usage of virtual/override/final in ui/ (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 | « ui/compositor/layer_animator_collection.h ('k') | ui/compositor/test/draw_waiter_for_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/scoped_layer_animation_settings.cc
diff --git a/ui/compositor/scoped_layer_animation_settings.cc b/ui/compositor/scoped_layer_animation_settings.cc
index 462f5379f33b89eb33d9fd3e8518dbbe38953cf3..7a593ca2601f407d51b9e86ae93efa6ff7e07a30 100644
--- a/ui/compositor/scoped_layer_animation_settings.cc
+++ b/ui/compositor/scoped_layer_animation_settings.cc
@@ -24,7 +24,7 @@ class InvertingObserver : public ImplicitAnimationObserver {
: base_layer_(NULL) {
}
- virtual ~InvertingObserver() {}
+ ~InvertingObserver() override {}
void SetLayer(Layer* base_layer) { base_layer_ = base_layer; }
@@ -34,10 +34,9 @@ class InvertingObserver : public ImplicitAnimationObserver {
inverse_layers_.push_back(inverse_layer);
}
- virtual void OnImplicitAnimationsCompleted() override {}
+ void OnImplicitAnimationsCompleted() override {}
- virtual void OnLayerAnimationScheduled(
- LayerAnimationSequence* sequence) override {
+ void OnLayerAnimationScheduled(LayerAnimationSequence* sequence) override {
DCHECK(base_layer_ != NULL)
<< "Must set base layer with ScopedLayerAnimationSettings::"
<< "SetInverslyAnimatedBaseLayer";
« no previous file with comments | « ui/compositor/layer_animator_collection.h ('k') | ui/compositor/test/draw_waiter_for_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698