Use icon for consistency with other touch bar APIs

This commit is contained in:
Kevin Sawicki 2017-03-15 09:33:11 -07:00
parent 49d48a4eb0
commit 466c39ed19
2 changed files with 2 additions and 2 deletions

View file

@ -601,7 +601,7 @@ static NSString* const ImageScrubberItemIdentifier = @"scrubber.image.item";
NSScrubberImageItemView* view = [scrubber makeItemWithIdentifier:ImageScrubberItemIdentifier
owner:self];
gfx::Image image;
if (item.Get("image", &image)) {
if (item.Get("icon", &image)) {
view.image = image.AsNSImage();
}
itemView = view;