Skip to content

Commit

Permalink
fix: getZoomFactor() deprecation warning when using <webview>
Browse files Browse the repository at this point in the history
  • Loading branch information
miniak committed Oct 28, 2019
1 parent b6246dc commit a85ad55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/browser/guest-view-manager.js
Expand Up @@ -200,7 +200,7 @@ const attachGuest = function (event, embedderFrameId, elementInstanceId, guestIn
nodeIntegrationInSubFrames: params.nodeintegrationinsubframes != null ? params.nodeintegrationinsubframes : false,
enableRemoteModule: params.enableremotemodule,
plugins: params.plugins,
zoomFactor: embedder.getZoomFactor(),
zoomFactor: embedder.zoomFactor,
disablePopups: !params.allowpopups,
webSecurity: !params.disablewebsecurity,
enableBlinkFeatures: params.blinkfeatures,
Expand Down

0 comments on commit a85ad55

Please sign in to comment.