Merge m-c to inbound.

This commit is contained in:
Ryan VanderMeulen 2013-06-07 15:28:41 -04:00
commit 4dc928a360
2 changed files with 5 additions and 3 deletions

View File

@ -3131,7 +3131,9 @@ this.DOMApplicationRegistry = {
} catch(e) { }
});
// Send back an answer to the child.
ppmm.broadcastAsyncMessage("Webapps:ClearBrowserData:Return", msg);
if (msg) {
ppmm.broadcastAsyncMessage("Webapps:ClearBrowserData:Return", msg);
}
},
registerBrowserElementParentForApp: function(bep, appId) {

View File

@ -163,9 +163,9 @@ BytesPerPixelForPixelFormat(android::PixelFormat aFormat)
case PIXEL_FORMAT_A_8:
return 1;
default:
MOZ_NOT_REACHED("Unknown gralloc pixel format");
return 0;
}
return gfxASurface::ImageFormatARGB32;
return 0;
}
static android::PixelFormat