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:
edburns%acm.org
2005-05-16 13:39:22 +00:00
parent 2a955718cb
commit db0d2ab21e
4 changed files with 16 additions and 31 deletions

View File

@@ -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;
}