Index: content/browser/renderer_host/render_widget_host_view_mac.mm |
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm |
index c1ed3872a4179dd01859fc536f47eb2263b57e46..d699aaaa62a870e03443bfe4644b63649a7758e6 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm |
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm |
@@ -1728,6 +1728,10 @@ gfx::Rect RenderWidgetHostViewMac::GetScaledOpenGLPixelRect( |
// The cursor is over a nonWebContentView - ignore this mouse event. |
return YES; |
} |
+ if ([view isKindOfClass:[self class]] && ![view isEqual:self]) { |
Alexei Svitkine (slow)
2013/05/22 03:34:43
Is there a reason to use -isEqual: here rather tha
sail
2013/05/22 17:54:10
This a normal Objective-C convention. For example,
|
+ // The cursor is over an overlapping render widget. |
Alexei Svitkine (slow)
2013/05/22 03:34:43
Please expand the comment to mention that given bo
sail
2013/05/22 17:54:10
Done.
|
+ return YES; |
+ } |
view = [view superview]; |
} |
return NO; |