Index: remoting/client/jni/chromoting_jni_runtime.cc |
diff --git a/remoting/client/jni/chromoting_jni_runtime.cc b/remoting/client/jni/chromoting_jni_runtime.cc |
index cb7dbb0e9865cb0fc78b5aa885c39e19bfcecdaa..18884a0c3030de765a775a2c06ce8ee7f8bfd765 100644 |
--- a/remoting/client/jni/chromoting_jni_runtime.cc |
+++ b/remoting/client/jni/chromoting_jni_runtime.cc |
@@ -18,7 +18,6 @@ |
#include "jni/JniInterface_jni.h" |
#include "media/base/yuv_convert.h" |
#include "remoting/base/url_request_context_getter.h" |
-#include "third_party/webrtc/modules/desktop_capture/desktop_frame.h" |
using base::android::ConvertJavaStringToUTF8; |
using base::android::ConvertUTF8ToJavaString; |
@@ -324,9 +323,9 @@ void ChromotingJniRuntime::HandleExtensionMessage(const std::string& type, |
} |
base::android::ScopedJavaLocalRef<jobject> ChromotingJniRuntime::NewBitmap( |
- webrtc::DesktopSize size) { |
+ int width, int height) { |
JNIEnv* env = base::android::AttachCurrentThread(); |
- return Java_JniInterface_newBitmap(env, size.width(), size.height()); |
+ return Java_JniInterface_newBitmap(env, width, height); |
} |
void ChromotingJniRuntime::UpdateFrameBitmap(jobject bitmap) { |