Index: chrome/browser/platform_util_linux.cc |
diff --git a/chrome/browser/platform_util_linux.cc b/chrome/browser/platform_util_linux.cc |
index 5e65bc2e1606689538a251d3bd3d042afba23e3e..002acf041d3df78d62caa6711a0cdf53a1133a11 100644 |
--- a/chrome/browser/platform_util_linux.cc |
+++ b/chrome/browser/platform_util_linux.cc |
@@ -76,7 +76,8 @@ void OpenItem(const base::FilePath& full_path) { |
base::Bind(&XDGOpen, full_path.value())); |
} |
-void OpenExternal(const GURL& url) { |
+void OpenExternal(Profile* profile, const GURL& url) { |
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
if (url.SchemeIs("mailto")) |
XDGEmail(url.spec()); |
else |