Merge pull request #11974 from electron/remove-setZoomLevelLimits

remove setZoomLevelLimits
This commit is contained in:
shelley vohr 2018-02-20 10:51:41 -05:00 committed by GitHub
commit 8d4bf3e29a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 3 additions and 26 deletions

View file

@ -407,9 +407,7 @@ void WebFrame::BuildPrototype(
.SetMethod("setIsolatedWorldHumanReadableName",
&WebFrame::SetIsolatedWorldHumanReadableName)
.SetMethod("getResourceUsage", &WebFrame::GetResourceUsage)
.SetMethod("clearCache", &WebFrame::ClearCache)
// TODO(kevinsawicki): Remove in 2.0, deprecate before then with warnings
.SetMethod("setZoomLevelLimits", &WebFrame::SetVisualZoomLevelLimits);
.SetMethod("clearCache", &WebFrame::ClearCache);
}
} // namespace api