| Index: webrtc/examples/androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java
|
| diff --git a/webrtc/examples/androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java b/webrtc/examples/androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java
|
| index 92c709ab2bd50a76f167a00cf3355e7493dd0086..16a9fb3612d84ad71b5bf51eac97a7c25d4b5b0b 100644
|
| --- a/webrtc/examples/androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java
|
| +++ b/webrtc/examples/androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java
|
| @@ -240,7 +240,7 @@
|
| client.setPeerConnectionFactoryOptions(options);
|
| client.createPeerConnectionFactory(
|
| getInstrumentation().getContext(), peerConnectionParameters, this);
|
| - client.createPeerConnection(useTexures ? eglBase.getContext() : null,
|
| + client.createPeerConnection(useTexures ? eglBase.getEglBaseContext() : null,
|
| localRenderer, remoteRenderer, signalingParameters);
|
| client.createOffer();
|
| return client;
|
| @@ -270,7 +270,7 @@
|
| signalingExecutor = new LooperExecutor();
|
| signalingExecutor.requestStart();
|
| if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
|
| - eglBase = new EglBase();
|
| + eglBase = EglBase.create();
|
| }
|
| }
|
|
|
|
|