Turns out the problem with the CocoaBrowserControlCanvas
was that I was incorrectly interpreting the return value from Lock(). This works. Next step is to solve the nsWindow.cpp problem. git-svn-id: svn://10.0.0.236/trunk@173469 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -37,12 +37,12 @@
|
||||
* Signature: ()I
|
||||
*/
|
||||
JNIEXPORT jint JNICALL Java_org_mozilla_webclient_impl_wrapper_1native_CocoaBrowserControlCanvas_getHandleToPeer
|
||||
(JNIEnv *env, jobject canvas, jobject graphics) {
|
||||
(JNIEnv *env, jobject canvas) {
|
||||
printf("debug: edburns: in CocoaBrowserControlCanvasImpl->nativeGetHandleToPeer\n");
|
||||
fflush(stdout);
|
||||
|
||||
jint result = -1;
|
||||
|
||||
result = CocoaBrowserControlCanvas::cocoaGetHandleToPeer(env, canvas, graphics);
|
||||
result = CocoaBrowserControlCanvas::cocoaGetHandleToPeer(env, canvas);
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user