зеркало из https://github.com/mozilla/gecko-dev.git
Android build fixes
This commit is contained in:
Родитель
7f54a91188
Коммит
eb9974e490
|
@ -263,7 +263,7 @@ public class LayerRenderer implements GLSurfaceView.Renderer {
|
|||
|
||||
/** Used by robocop for testing purposes. Not for production use! */
|
||||
IntBuffer getPixels() {
|
||||
IntBuffer pixelBuffer = IntBuffer.allocate(mView.getWidth() * mView.getHeight());
|
||||
IntBuffer pixelBuffer = IntBuffer.allocate(mView.getAndroidView().getWidth() * mView.getAndroidView().getHeight());
|
||||
synchronized (pixelBuffer) {
|
||||
mPixelBuffer = pixelBuffer;
|
||||
mView.requestRender();
|
||||
|
|
Загрузка…
Ссылка в новой задаче