diff options
Diffstat (limited to 'widget/gtk/nsDragService.cpp')
-rw-r--r-- | widget/gtk/nsDragService.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/gtk/nsDragService.cpp b/widget/gtk/nsDragService.cpp index 6cabfbbe2e..c3a3136013 100644 --- a/widget/gtk/nsDragService.cpp +++ b/widget/gtk/nsDragService.cpp @@ -1750,7 +1750,7 @@ nsresult nsDragService::CreateTempFile(nsITransferable* aItem, } // create and open channel for source uri - nsCOMPtr<nsIPrincipal> principal = aItem->GetRequestingPrincipal(); + nsCOMPtr<nsIPrincipal> principal = aItem->GetDataPrincipal(); nsContentPolicyType contentPolicyType = aItem->GetContentPolicyType(); nsCOMPtr<nsICookieJarSettings> cookieJarSettings = aItem->GetCookieJarSettings(); |