mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Mac: Fix Xcode 7 (10.11 SDK) build errors (issue #1732)
This commit is contained in:
@@ -772,7 +772,11 @@ BrowserOpenGLView* GLView(NSView* view) {
|
||||
clickCount:1
|
||||
pressure:1.0];
|
||||
|
||||
[window dragImage:nil
|
||||
// TODO(cef): Pass a non-nil value to dragImage (see issue #1715). For now
|
||||
// work around the "callee requires a non-null argument" error that occurs
|
||||
// when building with the 10.11 SDK.
|
||||
id nilArg = nil;
|
||||
[window dragImage:nilArg
|
||||
at:position
|
||||
offset:NSZeroSize
|
||||
event:dragEvent
|
||||
|
Reference in New Issue
Block a user