From ac26bf4de52eacc7c9377a875fa156dcf0977712 Mon Sep 17 00:00:00 2001 From: Seth Fowler Date: Sun, 29 Mar 2015 16:08:03 -0700 Subject: [PATCH] Bug 1148696 - Enable image locking on B2G. r=tn --- b2g/app/b2g.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b2g/app/b2g.js b/b2g/app/b2g.js index 090962e7e60..5840b2b2a6e 100644 --- a/b2g/app/b2g.js +++ b/b2g/app/b2g.js @@ -323,7 +323,7 @@ pref("media.video-queue.default-size", 3); // optimize images' memory usage pref("image.decode-only-on-draw.enabled", true); -pref("image.mem.allow_locking_in_content_processes", false); /* don't allow image locking */ +pref("image.mem.allow_locking_in_content_processes", true); // Limit the surface cache to 1/8 of main memory or 128MB, whichever is smaller. // Almost everything that was factored into 'max_decoded_image_kb' is now stored // in the surface cache. 1/8 of main memory is 32MB on a 256MB device, which is