Bug 877728 - Convert the page rect passed to SetFirstPaintViewport to LayerIntRect. r=BenWa

This commit is contained in:
Kartikaya Gupta
2013-06-03 09:58:34 -04:00
parent c926b22966
commit 2aadcc2acb
11 changed files with 23 additions and 17 deletions

View File

@@ -863,7 +863,7 @@ AndroidProgressiveUpdateData::Init(jobject jobj)
}
void
AndroidGeckoLayerClient::SetFirstPaintViewport(const LayerIntPoint& aOffset, float aZoom, const nsIntRect& aPageRect, const CSSRect& aCssPageRect)
AndroidGeckoLayerClient::SetFirstPaintViewport(const LayerIntPoint& aOffset, float aZoom, const LayerIntRect& aPageRect, const CSSRect& aCssPageRect)
{
NS_ASSERTION(!isNull(), "SetFirstPaintViewport called on null layer client!");
JNIEnv *env = GetJNIForThread(); // this is called on the compositor thread