Merge pull request #11799 from electron/browserview-inherit-fix

Don't inherit isBrowserView preference
This commit is contained in:
shelley vohr 2018-02-01 14:36:56 -05:00 committed by GitHub
commit 1545a95782
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,7 @@ const mergeOptions = function (child, parent, visited) {
visited.add(parent)
for (const key in parent) {
if (key === 'isBrowserView') continue
if (!hasProp.call(parent, key)) continue
if (key in child) continue