diff --git a/BUILD.gn b/BUILD.gn index 5b0f137bc1bb..8bccce94dd52 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -271,8 +271,6 @@ static_library("electron_lib") { ] } defines = [ - # This is defined in skia/skia_common.gypi. - "SK_SUPPORT_LEGACY_GETTOPDEVICE", # Disable warnings for g_settings_list_schemas. "GLIB_DISABLE_DEPRECATION_WARNINGS", @@ -280,9 +278,6 @@ static_library("electron_lib") { "USING_V8_SHARED", "USING_V8_PLATFORM_SHARED", "USING_V8_BASE_SHARED", - - # Enables SkBitmap size 64 operations - #"SK_SUPPORT_LEGACY_SAFESIZE64", # doesn't seem to be needed to build? ] include_dirs = [ "chromium_src", diff --git a/electron.gyp b/electron.gyp index b2fe61698462..17a1f0ef752e 100644 --- a/electron.gyp +++ b/electron.gyp @@ -272,8 +272,6 @@ 'NODE_SHARED_MODE', 'HAVE_OPENSSL=1', 'HAVE_INSPECTOR=1', - # This is defined in skia/skia_common.gypi. - 'SK_SUPPORT_LEGACY_GETTOPDEVICE', # Disable warnings for g_settings_list_schemas. 'GLIB_DISABLE_DEPRECATION_WARNINGS', # Defined in Chromium but not exposed in its gyp file. @@ -287,9 +285,6 @@ # See Chromium src/third_party/protobuf/BUILD.gn 'GOOGLE_PROTOBUF_NO_RTTI', 'GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER', - - # Enables SkBitmap size 64 operations - 'SK_SUPPORT_LEGACY_SAFESIZE64', ], 'sources': [ '<@(lib_sources)',