web_contents can't be null
This commit is contained in:
parent
2eaa6d0874
commit
7b8890a4c9
1 changed files with 0 additions and 3 deletions
|
@ -993,9 +993,6 @@ NativeWindowMac::NativeWindowMac(
|
|||
if ([[event window] windowNumber] != [window_ windowNumber])
|
||||
return event;
|
||||
|
||||
if (!web_contents)
|
||||
return event;
|
||||
|
||||
if (!began && (([event phase] == NSEventPhaseMayBegin) ||
|
||||
([event phase] == NSEventPhaseBegan))) {
|
||||
this->NotifyWindowScrollTouchBegin();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue