summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components/places/PlacesUIUtils.jsm
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-05-12 21:00:32 -0400
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-05-13 12:51:22 +0200
commitdabd43c914c826c8cb66b6b224c5581256cb6f05 (patch)
tree0c27e17780a6d4dbfcbdd0e675e0f9441d6a6c30 /application/palemoon/components/places/PlacesUIUtils.jsm
parent25494e6c782e97bf1029824066644918491c3cbb (diff)
downloadUXP-dabd43c914c826c8cb66b6b224c5581256cb6f05.tar
UXP-dabd43c914c826c8cb66b6b224c5581256cb6f05.tar.gz
UXP-dabd43c914c826c8cb66b6b224c5581256cb6f05.tar.lz
UXP-dabd43c914c826c8cb66b6b224c5581256cb6f05.tar.xz
UXP-dabd43c914c826c8cb66b6b224c5581256cb6f05.zip
Remove deprecated appending of #-moz-resolution from Pale Moon and left over from nsMediaFragmentURIParser.h
This also magically makes Aero Peek work properly with Pale Moon thus: Resolves #809
Diffstat (limited to 'application/palemoon/components/places/PlacesUIUtils.jsm')
-rw-r--r--application/palemoon/components/places/PlacesUIUtils.jsm7
1 files changed, 2 insertions, 5 deletions
diff --git a/application/palemoon/components/places/PlacesUIUtils.jsm b/application/palemoon/components/places/PlacesUIUtils.jsm
index 05d79241c..e3a9e1322 100644
--- a/application/palemoon/components/places/PlacesUIUtils.jsm
+++ b/application/palemoon/components/places/PlacesUIUtils.jsm
@@ -1170,11 +1170,8 @@ this.PlacesUIUtils = {
* @return The URL with the fragment at the end
*/
getImageURLForResolution:
- function PUIU_getImageURLForResolution(aWindow, aURL, aWidth = 16, aHeight = 16) {
- let width = Math.round(aWidth * aWindow.devicePixelRatio);
- let height = Math.round(aHeight * aWindow.devicePixelRatio);
- return aURL + (aURL.includes("#") ? "&" : "#") +
- "-moz-resolution=" + width + "," + height;
+ function PUIU_getImageURLForResolution(aWindow, aURL, aWidth, aHeight) {
+ return aURL;
}
};