| Index: ui/base/cocoa/nsview_additions.mm
|
| diff --git a/ui/base/cocoa/nsview_additions.mm b/ui/base/cocoa/nsview_additions.mm
|
| index fc240392111242bafd5aaf60102f7fdb11452bc5..f111b140248450af2e0d2d239ad6655264199f61 100644
|
| --- a/ui/base/cocoa/nsview_additions.mm
|
| +++ b/ui/base/cocoa/nsview_additions.mm
|
| @@ -60,6 +60,12 @@
|
| colorWithAlphaComponent:0.5 / [self cr_lineWidth]];
|
| }
|
|
|
| +- (void)cr_recursivelyInvokeBlock:(void (^)(id view))block {
|
| + block(self);
|
| + for (NSView* subview in [self subviews])
|
| + [subview cr_recursivelyInvokeBlock:block];
|
| +}
|
| +
|
| - (void)cr_recursivelySetNeedsDisplay:(BOOL)flag {
|
| [self setNeedsDisplay:YES];
|
| for (NSView* child in [self subviews])
|
|
|