Commit d4871371 authored by dbates@webkit.org's avatar dbates@webkit.org

2011-01-04 Daniel Bates <dbates@rim.com>

        Fix the Android build after changeset 74975 <http://trac.webkit.org/changeset/74975>
        (https://bugs.webkit.org/show_bug.cgi?id=51855).

        * wtf/ThreadingPthreads.cpp: Add include of PassOwnPtr.h.
        (WTF::runThreadWithRegistration): Use -> instead of . to dereference pointer.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75019 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 74e0327b
2011-01-04 Daniel Bates <dbates@rim.com>
Fix the Android build after changeset 74975 <http://trac.webkit.org/changeset/74975>
(https://bugs.webkit.org/show_bug.cgi?id=51855).
* wtf/ThreadingPthreads.cpp: Add include of PassOwnPtr.h.
(WTF::runThreadWithRegistration): Use -> instead of . to dereference pointer.
2011-01-04 Martin Robinson <mrobinson@igalia.com>
Try to fix the EFL build.
......
......@@ -52,6 +52,7 @@
#include "JNIUtility.h"
#include "ThreadFunctionInvocation.h"
#include <wtf/OwnPtr.h>
#include <wtf/PassOwnPtr.h>
#endif
namespace WTF {
......@@ -145,7 +146,7 @@ static void* runThreadWithRegistration(void* arg)
JNIEnv* env;
void* ret = 0;
if (vm->AttachCurrentThread(&env, 0) == JNI_OK) {
ret = invocation->function(invocation.data);
ret = invocation->function(invocation->data);
vm->DetachCurrentThread();
}
return ret;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment