diff --git a/atom/common/native_mate_converters/blink_converter.cc b/atom/common/native_mate_converters/blink_converter.cc index 4bfde54dae61..a262e9b1ba43 100644 --- a/atom/common/native_mate_converters/blink_converter.cc +++ b/atom/common/native_mate_converters/blink_converter.cc @@ -343,8 +343,6 @@ bool Converter::FromV8( dict.Get("viewPosition", &out->view_position); dict.Get("deviceScaleFactor", &out->device_scale_factor); dict.Get("viewSize", &out->view_size); - dict.Get("fitToView", &out->fit_to_view); - dict.Get("offset", &out->offset); dict.Get("scale", &out->scale); return true; } diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index 9b56820d0494..35d8c5833a6c 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -1164,10 +1164,6 @@ app.on('ready', () => { * `deviceScaleFactor` Integer - Set the device scale factor (if zero defaults to original device scale factor) (default: `0`) * `viewSize` [Size](structures/size.md) - Set the emulated view size (empty means no override) - * `fitToView` Boolean - Whether emulated view should be scaled down if - necessary to fit into available space (default: `false`) - * `offset` [Point](structures/point.md) - Offset of the emulated view inside available space - (not in fit to view mode) (default: `{x: 0, y: 0}`) * `scale` Float - Scale of emulated view inside available space (not in fit to view mode) (default: `1`)