Bug 1448016 - make some Android widget constructors explicit; r=snorp
Attempting to stand up the static analysis for Android builds revealed that we weren't being explicit enough.
This commit is contained in:
@@ -21,7 +21,7 @@ using namespace mozilla;
|
||||
class AndroidInputStream : public nsIInputStream
|
||||
{
|
||||
public:
|
||||
AndroidInputStream(jni::Object::Param connection) {
|
||||
explicit AndroidInputStream(jni::Object::Param connection) {
|
||||
mBridgeInputStream = java::GeckoAppShell::CreateInputStream(connection);
|
||||
mBridgeChannel = AndroidBridge::ChannelCreate(mBridgeInputStream);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user