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

Unified Diff: ash/rotator/screen_rotation_animator.cc

Issue 2869263002: Add UMA for CrossFadeAnimation. (Closed)
Patch Set: Fix nits. Created 3 years, 7 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 | « no previous file | ash/wm/overview/scoped_overview_animation_settings_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/rotator/screen_rotation_animator.cc
diff --git a/ash/rotator/screen_rotation_animator.cc b/ash/rotator/screen_rotation_animator.cc
index 31a54537dd859ca1f3d8535baabb1442e81af0d6..258e7b42fa6c618c6f3c919270109c00288f201d 100644
--- a/ash/rotator/screen_rotation_animator.cc
+++ b/ash/rotator/screen_rotation_animator.cc
@@ -150,8 +150,8 @@ std::unique_ptr<ui::LayerOwner> CreateBlackMaskLayerOwner(
class ScreenRotationAnimationMetricsReporter
: public ui::AnimationMetricsReporter {
public:
- ScreenRotationAnimationMetricsReporter() {}
- ~ScreenRotationAnimationMetricsReporter() override {}
+ ScreenRotationAnimationMetricsReporter() = default;
+ ~ScreenRotationAnimationMetricsReporter() override = default;
void Report(int value) override {
UMA_HISTOGRAM_PERCENTAGE("Ash.Rotation.AnimationSmoothness", value);
« no previous file with comments | « no previous file | ash/wm/overview/scoped_overview_animation_settings_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698