Bug 703421 - Part 2: Add an API bridge so that picking up part 1 of this patch from m-c won't break us. rs=pcwalton

This commit is contained in:
Patrick Walton 2011-11-17 19:24:35 -08:00
Родитель 0c36608f96
Коммит 9350a86e95
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -161,6 +161,13 @@ public class GeckoSoftwareLayerClient extends LayerClient {
repaint(new Rect(x, y, x + width, y + height));
}
/*
* Temporary fix to allow both old and new widget APIs to access this object. See bug 703421.
*/
public void endDrawing(int x, int y, int width, int height, String metadata) {
endDrawing(x, y, width, height);
}
private void repaint(Rect rect) {
mTileLayer.paintSubimage(mCairoImage, rect);
}