diff options
author | dcheng <dcheng@chromium.org> | 2015-07-24 16:35:01 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-24 23:35:56 +0000 |
commit | 6713cc79b432a3de02bd4c08dceaf1d187a9c431 (patch) | |
tree | 31601ad45b7dd44681178f60fd0831b2ba880700 /ui/native_theme/native_theme_win.cc | |
parent | 0570e9bab6c91b34ae3329383f3ae1097a98c29d (diff) | |
download | chromium_src-6713cc79b432a3de02bd4c08dceaf1d187a9c431.zip chromium_src-6713cc79b432a3de02bd4c08dceaf1d187a9c431.tar.gz chromium_src-6713cc79b432a3de02bd4c08dceaf1d187a9c431.tar.bz2 |
Fix -Wswitch warnings in //ui.
BUG=505308
Review URL: https://codereview.chromium.org/1256023002
Cr-Commit-Position: refs/heads/master@{#340378}
Diffstat (limited to 'ui/native_theme/native_theme_win.cc')
-rw-r--r-- | ui/native_theme/native_theme_win.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/native_theme/native_theme_win.cc b/ui/native_theme/native_theme_win.cc index 89f88b9..0ffcbd1 100644 --- a/ui/native_theme/native_theme_win.cc +++ b/ui/native_theme/native_theme_win.cc @@ -666,9 +666,10 @@ SkColor NativeThemeWin::GetSystemColor(ColorId color_id) const { case kColorId_ResultsTableNegativeSelectedText: return color_utils::GetReadableColor(kNegativeTextColor, system_colors_[COLOR_HIGHLIGHT]); + default: + NOTREACHED(); + return kInvalidColorIdColor; } - NOTREACHED(); - return kInvalidColorIdColor; } void NativeThemeWin::PaintIndirect(SkCanvas* canvas, |