Loading widget/nsTransferable.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -33,6 +33,7 @@ Notes to self: #include "nsILoadContext.h" #include "nsXULAppAPI.h" #include "mozilla/UniquePtr.h" #include "mozilla/Preferences.h" using namespace mozilla; Loading Loading @@ -195,6 +196,11 @@ nsTransferable::Init(nsILoadContext* aContext) { if (aContext) { mPrivateData = aContext->UsePrivateBrowsing(); } else { // without aContext here to provide PrivateBrowsing information, // we defer to the active configured setting mPrivateData = mozilla::Preferences::GetBool("browser.privatebrowsing.autostart"); } #ifdef DEBUG mInitialized = true; Loading Loading
widget/nsTransferable.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -33,6 +33,7 @@ Notes to self: #include "nsILoadContext.h" #include "nsXULAppAPI.h" #include "mozilla/UniquePtr.h" #include "mozilla/Preferences.h" using namespace mozilla; Loading Loading @@ -195,6 +196,11 @@ nsTransferable::Init(nsILoadContext* aContext) { if (aContext) { mPrivateData = aContext->UsePrivateBrowsing(); } else { // without aContext here to provide PrivateBrowsing information, // we defer to the active configured setting mPrivateData = mozilla::Preferences::GetBool("browser.privatebrowsing.autostart"); } #ifdef DEBUG mInitialized = true; Loading