Bug 1292323 - Update WrapForJNI usages; r=snorp
Replace old flags in WrapForJNI usages with new flags. The calledFrom and dispatchTo flags are set based on whether the method is native or non-native, and how the method is used. Also fix testEventDipatcher to respect NativeJSObject's calledFrom = "gekco" flag, by moving a test to Gecko thread.
This commit is contained in:
@@ -64,7 +64,7 @@ nsScreenAndroid::GetPixelDepth(int32_t *aPixelDepth)
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
*aPixelDepth = java::GeckoAppShell::GetScreenDepthWrapper();
|
||||
*aPixelDepth = java::GeckoAppShell::GetScreenDepth();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user