| Index: remoting/client/jni/jni_frame_consumer.h
|
| diff --git a/remoting/client/jni/jni_frame_consumer.h b/remoting/client/jni/jni_frame_consumer.h
|
| index b4c0d7f29117e753a52ca53df5b4095018fbc9ac..a6607a0aa4fa7be44b0bf9a08b35a84c16fd9a51 100644
|
| --- a/remoting/client/jni/jni_frame_consumer.h
|
| +++ b/remoting/client/jni/jni_frame_consumer.h
|
| @@ -17,13 +17,15 @@
|
| namespace remoting {
|
|
|
| class ChromotingJniRuntime;
|
| +class JniDisplayHandler;
|
| class JniClient;
|
|
|
| // FrameConsumer implementation that draws onto a JNI direct byte buffer.
|
| class JniFrameConsumer : public protocol::FrameConsumer {
|
| public:
|
| - // Does not take ownership of |jni_runtime|.
|
| - JniFrameConsumer(ChromotingJniRuntime* jni_runtime, JniClient* client);
|
| + // Does not take ownership of |jni_runtime| or |display|.
|
| + JniFrameConsumer(ChromotingJniRuntime* jni_runtime,
|
| + base::WeakPtr<JniDisplayHandler> display);
|
|
|
| ~JniFrameConsumer() override;
|
|
|
|
|