зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
0c36608f96
Коммит
9350a86e95
|
@ -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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче