mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 1756352 - Stop using 8.3 names in nsParentalControlsService. r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D139241
This commit is contained in:
parent
66243c7954
commit
cbff0a1fdb
@ -261,10 +261,9 @@ void nsParentalControlsService::LogFileDownload(bool blocked, nsIURI* aSource,
|
||||
EventDataDescCreate(&eventData[WPC_ARGS_FILEDOWNLOADEVENT_BLOCKED],
|
||||
(const void*)&dwBlocked, sizeof(dwBlocked));
|
||||
|
||||
nsCOMPtr<nsILocalFileWin> local(do_QueryInterface(aTarget)); // May be null
|
||||
if (local) {
|
||||
if (aTarget) { // May be null
|
||||
nsAutoString path;
|
||||
local->GetCanonicalPath(path);
|
||||
aTarget->GetPath(path);
|
||||
EventDataDescCreate(&eventData[WPC_ARGS_FILEDOWNLOADEVENT_PATH],
|
||||
(const void*)path.get(),
|
||||
((ULONG)path.Length() + 1) * sizeof(WCHAR));
|
||||
|
Loading…
Reference in New Issue
Block a user