| 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 9b149735a781ec92f73e8ae3db9bfbeb1dc367e7..9ee7e5e0337d4a1032bd8adb006bbda83fb594b3 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_mac.mm
|
| +++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
|
| @@ -104,29 +104,12 @@ using blink::WebGestureEvent;
|
| // Declare things that are part of the 10.7 SDK.
|
| #if !defined(MAC_OS_X_VERSION_10_7) || \
|
| MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7
|
| -@interface NSView (NSOpenGLSurfaceResolutionLionAPI)
|
| -- (void)setWantsBestResolutionOpenGLSurface:(BOOL)flag;
|
| -@end
|
|
|
| static NSString* const NSWindowDidChangeBackingPropertiesNotification =
|
| @"NSWindowDidChangeBackingPropertiesNotification";
|
|
|
| #endif // 10.7
|
|
|
| -// Declare things that are part of the 10.9 SDK.
|
| -#if !defined(MAC_OS_X_VERSION_10_9) || \
|
| - MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_9
|
| -enum {
|
| - NSWindowOcclusionStateVisible = 1UL << 1,
|
| -};
|
| -typedef NSUInteger NSWindowOcclusionState;
|
| -
|
| -@interface NSWindow (MavericksAPI)
|
| -- (NSWindowOcclusionState)occlusionState;
|
| -@end
|
| -
|
| -#endif // 10.9
|
| -
|
| // This method will return YES for OS X versions 10.7.3 and later, and NO
|
| // otherwise.
|
| // Used to prevent a crash when building with the 10.7 SDK and accessing the
|
|
|