summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-12 03:30:42 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-12 03:32:08 +0000
commitf177bf78350674260e5838a76236b3aa0f15cd33 (patch)
treef0615bc6cc221199447840d9d35c9e78663866bb /ui
parent090cf2ce996242327f73d1b4af888f174cefc237 (diff)
downloadchromium_src-f177bf78350674260e5838a76236b3aa0f15cd33.zip
chromium_src-f177bf78350674260e5838a76236b3aa0f15cd33.tar.gz
chromium_src-f177bf78350674260e5838a76236b3aa0f15cd33.tar.bz2
Mac: silently fall back to normal separator drawing
for UPPER and LOWER varieties. No behavior change, just less console spew. BUG=402311 Review URL: https://codereview.chromium.org/460143003 Cr-Commit-Position: refs/heads/master@{#288902} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288902 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui')
-rw-r--r--ui/base/models/simple_menu_model.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/base/models/simple_menu_model.cc b/ui/base/models/simple_menu_model.cc
index b8d084f..336fd41 100644
--- a/ui/base/models/simple_menu_model.cc
+++ b/ui/base/models/simple_menu_model.cc
@@ -131,7 +131,7 @@ void SimpleMenuModel::AddSeparator(MenuSeparatorType separator_type) {
return;
}
#if !defined(USE_AURA)
- if (separator_type != NORMAL_SEPARATOR)
+ if (separator_type == SPACING_SEPARATOR)
NOTIMPLEMENTED();
#endif
Item item = { kSeparatorId, base::string16(), base::string16(),