Browse Source

Update add-components-ungoogled.patch

dot-gov 2 years ago
parent
commit
edf60ae684
1 changed files with 2 additions and 6 deletions
  1. 2 6
      patches/extra/ungoogled-chromium/add-components-ungoogled.patch

+ 2 - 6
patches/extra/ungoogled-chromium/add-components-ungoogled.patch

@@ -19,7 +19,7 @@
 +}
 --- /dev/null
 +++ b/components/ungoogled/ungoogled_switches.cc
-@@ -0,0 +1,21 @@
+@@ -0,0 +1,18 @@
 +// Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved.
 +// Use of this source code is governed by a BSD-style license that can be
 +// found in the LICENSE file.
@@ -37,13 +37,10 @@
 +// Enable fingerprinting deception for Canvas image data
 +const char kFingerprintingCanvasImageDataNoise[] = "fingerprinting-canvas-image-data-noise";
 +
-+// Set PDF Plugin name, for websites that analyze JavaScript API navigator.plugins
-+const char kPDFPluginName[] = "pdf-plugin-name";
-+
 +}  // namespace switches
 --- /dev/null
 +++ b/components/ungoogled/ungoogled_switches.h
-@@ -0,0 +1,21 @@
+@@ -0,0 +1,20 @@
 +// Copyright (c) 2020 The ungoogled-chromium Authors. All rights reserved.
 +// Use of this source code is governed by a BSD-style license that can be
 +// found in the LICENSE file.
@@ -60,7 +57,6 @@
 +COMPONENT_EXPORT(UNGOOGLED) extern const char kFingerprintingClientRectsNoise[];
 +COMPONENT_EXPORT(UNGOOGLED) extern const char kFingerprintingCanvasMeasureTextNoise[];
 +COMPONENT_EXPORT(UNGOOGLED) extern const char kFingerprintingCanvasImageDataNoise[];
-+COMPONENT_EXPORT(UNGOOGLED) extern const char kPDFPluginName[];
 +
 +}
 +