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

Unified Diff: ui/gfx/animation/animation.cc

Issue 1566303004: Smooth scroll on Windows should respect OS level animation disabling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase master Created 4 years, 11 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 | « content/renderer/render_view_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/animation/animation.cc
diff --git a/ui/gfx/animation/animation.cc b/ui/gfx/animation/animation.cc
index d065adcc782a03d44200535dd5c3c2acc28a3164..3c298285e1310ea4d1b9b0e2c5fc5afed193af2e 100644
--- a/ui/gfx/animation/animation.cc
+++ b/ui/gfx/animation/animation.cc
@@ -99,10 +99,6 @@ bool Animation::ShouldRenderRichAnimation() {
BOOL result;
// Get "Turn off all unnecessary animations" value.
if (::SystemParametersInfo(SPI_GETCLIENTAREAANIMATION, 0, &result, 0)) {
- // There seems to be a typo in the MSDN document (as of May 2009):
- // http://msdn.microsoft.com/en-us/library/ms724947(VS.85).aspx
- // The document states that the result is TRUE when animations are
- // _disabled_, but in fact, it is TRUE when they are _enabled_.
return !!result;
}
}
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698