mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
remove dummy check
This commit is contained in:
@@ -86,7 +86,6 @@ bool Browser::SetAsDefaultProtocolClient(const std::string& protocol,
|
||||
|
||||
bool Browser::IsDefaultProtocolClient(const std::string& protocol,
|
||||
mate::Arguments* args) {
|
||||
base::ThreadRestrictions::AssertIOAllowed();
|
||||
std::unique_ptr<base::Environment> env(base::Environment::Create());
|
||||
|
||||
if (protocol.empty()) return false;
|
||||
|
||||
Reference in New Issue
Block a user