refactor: remove experimentalCanvasFeatures property (#13684)

This commit is contained in:
Shelley Vohr 2018-07-16 13:32:42 -07:00 committed by GitHub
parent cc03213b62
commit 6045d1218a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 4 additions and 12 deletions

View file

@ -210,8 +210,7 @@ module.exports = {
*/
warnAboutExperimentalFeatures: () => {
const webPreferences = getWebPreferences()
if (!webPreferences || (!webPreferences.experimentalFeatures &&
!webPreferences.experimentalCanvasFeatures)) {
if (!webPreferences || (!webPreferences.experimentalFeatures)) {
return
}