Index: content/shell/renderer/test_runner/event_sender.cc |
diff --git a/content/shell/renderer/test_runner/event_sender.cc b/content/shell/renderer/test_runner/event_sender.cc |
index 09bfd68aedf1fd10ec7ec0f670adc25c045b511d..e976c626300e5560901c1ac69fa4b0da95c6ff8e 100644 |
--- a/content/shell/renderer/test_runner/event_sender.cc |
+++ b/content/shell/renderer/test_runner/event_sender.cc |
@@ -153,11 +153,12 @@ void PopulateCustomItems(const WebVector<WebMenuItemInfo>& customItems, |
strings->push_back(prefixCopy + kSeparatorIdentifier); |
} else if (customItems[i].type == blink::WebMenuItemInfo::SubMenu) { |
strings->push_back(prefixCopy + customItems[i].label.utf8() + |
- kSubMenuIdentifier); |
+ customItems[i].icon.utf8() + kSubMenuIdentifier); |
PopulateCustomItems(customItems[i].subMenuItems, prefixCopy + |
kSubMenuDepthIdentifier, strings); |
} else { |
- strings->push_back(prefixCopy + customItems[i].label.utf8()); |
+ strings->push_back(prefixCopy + customItems[i].label.utf8() + |
+ customItems[i].icon.utf8()); |
} |
} |
} |