summaryrefslogtreecommitdiffstats
path: root/ui/gfx
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-18 20:51:09 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-18 20:51:09 +0000
commitbcaa667ddd8b470bc92229881eae296379d268a0 (patch)
tree23edf3ccf6e1f391a2a8f3506baf4a98f9d71b99 /ui/gfx
parente3d512a71352fe9060e168c52c3b4583a4558852 (diff)
downloadchromium_src-bcaa667ddd8b470bc92229881eae296379d268a0.zip
chromium_src-bcaa667ddd8b470bc92229881eae296379d268a0.tar.gz
chromium_src-bcaa667ddd8b470bc92229881eae296379d268a0.tar.bz2
Fix "unreachable code" warnings (MSVC warning 4702) in ui/.
BUG=346399 TEST=none R=sky@chromium.org Review URL: https://codereview.chromium.org/202173005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257745 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx')
-rw-r--r--ui/gfx/animation/animation.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/gfx/animation/animation.cc b/ui/gfx/animation/animation.cc
index 3b525f2..fce72e8 100644
--- a/ui/gfx/animation/animation.cc
+++ b/ui/gfx/animation/animation.cc
@@ -106,8 +106,9 @@ bool Animation::ShouldRenderRichAnimation() {
}
}
return !::GetSystemMetrics(SM_REMOTESESSION);
-#endif
+#else
return true;
+#endif
}
bool Animation::ShouldSendCanceledFromStop() {