Ignore:
Timestamp:
Jan 4, 2011, 3:17:18 PM (14 years ago)
Author:
[email protected]
Message:

2011-01-04 Daniel Bates <[email protected]>

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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/wtf/ThreadingPthreads.cpp

    r74975 r75019  
    5353#include "ThreadFunctionInvocation.h"
    5454#include <wtf/OwnPtr.h>
     55#include <wtf/PassOwnPtr.h>
    5556#endif
    5657
     
    146147    void* ret = 0;
    147148    if (vm->AttachCurrentThread(&env, 0) == JNI_OK) {
    148         ret = invocation->function(invocation.data);
     149        ret = invocation->function(invocation->data);
    149150        vm->DetachCurrentThread();
    150151    }
Note: See TracChangeset for help on using the changeset viewer.