Browse Source

remove dummy check

Shelley Vohr 7 years ago
parent
commit
443c30890b
1 changed files with 0 additions and 1 deletions
  1. 0 1
      atom/browser/browser_linux.cc

+ 0 - 1
atom/browser/browser_linux.cc

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