mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
bug 712787 - remove showScreenshot (dead code) r=dougt
This commit is contained in:
parent
a158abd5b6
commit
3c044db9ca
@ -128,17 +128,6 @@ public class PlaceholderLayerClient extends LayerClient {
|
||||
return true;
|
||||
}
|
||||
|
||||
void showScreenshot() {
|
||||
BufferedCairoImage image = new BufferedCairoImage(mBuffer, mWidth, mHeight, mFormat);
|
||||
SingleTileLayer tileLayer = new SingleTileLayer(image);
|
||||
|
||||
beginTransaction(tileLayer);
|
||||
tileLayer.setOrigin(PointUtils.round(mViewport.getDisplayportOrigin()));
|
||||
endTransaction(tileLayer);
|
||||
|
||||
getLayerController().setRoot(tileLayer);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void geometryChanged() { /* no-op */ }
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user