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:
Nathan Froyd
2018-03-27 10:51:32 -04:00
parent f2ba27ebae
commit c415bb3846
12 changed files with 32 additions and 32 deletions

View File

@@ -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);
}