Bug 1575924 - Apply readability-inconsistent-declaration-parameter-name to Resist Fingerpritning code r=timhuang
authorTom Ritter <tom@mozilla.com>
Fri, 23 Aug 2019 07:38:15 +0000
changeset 489592 bcf1874cde5435ef9ca8503b3319c3ead7740f5a
parent 489591 88adfeed22650fee5b07b34af6e3cc289bea5db1
child 489593 79f74b10e771b8a1cdb8a12ee25e962423a52829
push id93465
push usertritter@mozilla.com
push dateFri, 23 Aug 2019 13:13:49 +0000
treeherderautoland@a7a5fdf0f2cb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstimhuang
bugs1575924
milestone70.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1575924 - Apply readability-inconsistent-declaration-parameter-name to Resist Fingerpritning code r=timhuang Depends on D43106 Differential Revision: https://phabricator.services.mozilla.com/D43107
toolkit/components/resistfingerprinting/nsRFPService.h
--- a/toolkit/components/resistfingerprinting/nsRFPService.h
+++ b/toolkit/components/resistfingerprinting/nsRFPService.h
@@ -244,17 +244,17 @@ class nsRFPService final : public nsIObs
 
   void PrefChanged(const char* aPref);
 
   static void MaybeCreateSpoofingKeyCodes(const KeyboardLangs aLang,
                                           const KeyboardRegions aRegion);
   static void MaybeCreateSpoofingKeyCodesForEnUS();
 
   static void GetKeyboardLangAndRegion(const nsAString& aLanguage,
-                                       KeyboardLangs& aLang,
+                                       KeyboardLangs& aLocale,
                                        KeyboardRegions& aRegion);
   static bool GetSpoofedKeyCodeInfo(const mozilla::dom::Document* aDoc,
                                     const WidgetKeyboardEvent* aKeyboardEvent,
                                     SpoofingKeyboardCode& aOut);
 
   static nsDataHashtable<KeyboardHashKey, const SpoofingKeyboardCode*>*
       sSpoofingKeyboardCodes;