Bug 844275 - Ensure that the GeckoLayerClient always starts off with an accurate viewport size. r=Cwiiis

This commit is contained in:
Kartikaya Gupta
2013-02-28 13:28:23 -05:00
parent b0cc73f758
commit 1f29e73ea6
3 changed files with 2 additions and 14 deletions

View File

@@ -87,15 +87,6 @@ public class GLController {
}
mEGLConfig = chooseConfig();
// updating the state in the view/controller/client should be
// done on the main UI thread, not the GL renderer thread
mView.post(new Runnable() {
@Override
public void run() {
mView.setViewportSize(mWidth, mHeight);
}
});
}
private EGLConfig chooseConfig() {