diff options
Diffstat (limited to 'dom/base/nsContentUtils.cpp')
-rw-r--r-- | dom/base/nsContentUtils.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dom/base/nsContentUtils.cpp b/dom/base/nsContentUtils.cpp index fdffd95531..e88e31bd9d 100644 --- a/dom/base/nsContentUtils.cpp +++ b/dom/base/nsContentUtils.cpp @@ -306,7 +306,7 @@ bool nsContentUtils::sFragmentParsingActive = false; bool nsContentUtils::sDOMWindowDumpEnabled; #endif -bool nsContentUtils::sDoNotTrackEnabled = false; +bool nsContentUtils::sGPCEnabled = false; mozilla::LazyLogModule nsContentUtils::sDOMDumpLog("Dump"); @@ -623,8 +623,8 @@ nsContentUtils::Init() "browser.dom.window.dump.enabled"); #endif - Preferences::AddBoolVarCache(&sDoNotTrackEnabled, - "privacy.donottrackheader.enabled", false); + Preferences::AddBoolVarCache(&sGPCEnabled, + "privacy.GPCheader.enabled", false); Preferences::AddBoolVarCache(&sUseActivityCursor, "ui.use_activity_cursor", false); @@ -7122,9 +7122,9 @@ nsContentUtils::DOMWindowDumpEnabled() } bool -nsContentUtils::DoNotTrackEnabled() +nsContentUtils::GPCEnabled() { - return nsContentUtils::sDoNotTrackEnabled; + return nsContentUtils::sGPCEnabled; } mozilla::LogModule* |