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

Unified Diff: ui/native_theme/native_theme_mac.mm

Issue 328103002: MacViews: Provide CreateNativeWidget and a stub NativeThemeMac in NativeWidgetMac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cite bug Created 6 years, 6 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/native_theme/native_theme_mac.h ('k') | ui/views/widget/native_widget_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/native_theme_mac.mm
diff --git a/ui/native_theme/native_theme_mac.mm b/ui/native_theme/native_theme_mac.mm
index c3152a8d14582fcd4275d808283e813769e68e6c..39f7dfc01622d732dd4ce19f476b3bd81627706f 100644
--- a/ui/native_theme/native_theme_mac.mm
+++ b/ui/native_theme/native_theme_mac.mm
@@ -36,7 +36,8 @@ SkColor NativeThemeMac::GetSystemColor(ColorId color_id) const {
case kColorId_DialogBackground:
return kDialogBackgroundColor;
default:
- NOTREACHED() << "Invalid color_id: " << color_id;
+ NOTIMPLEMENTED() << " Invalid color_id: " << color_id;
+ return FallbackTheme::GetSystemColor(color_id);
}
return kInvalidColorIdColor;
« no previous file with comments | « ui/native_theme/native_theme_mac.h ('k') | ui/views/widget/native_widget_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698