mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
Made SpendTime method XP.
This commit is contained in:
parent
bde904366d
commit
63ef5d56e6
@ -104,15 +104,12 @@ public:
|
||||
NS_IMETHOD_(nsrefcnt)
|
||||
ReleaseJNIEnv(JNIEnv* env) = 0;
|
||||
|
||||
#ifdef XP_MAC
|
||||
// beard: since only my plugin has implemented this so far, I'll leave it conditional for now.
|
||||
/**
|
||||
* Gives time to the JVM from the main event loop of the browser. This is
|
||||
* necessary when there aren't any plugin instances around, but Java threads exist.
|
||||
*/
|
||||
NS_IMETHOD
|
||||
SpendTime(PRUint32 timeMillis) = 0;
|
||||
#endif
|
||||
};
|
||||
|
||||
#define NS_IJVMPLUGIN_IID \
|
||||
|
Loading…
Reference in New Issue
Block a user