Index: content/browser/renderer_host/render_sandbox_host_linux.cc |
diff --git a/content/browser/renderer_host/render_sandbox_host_linux.cc b/content/browser/renderer_host/render_sandbox_host_linux.cc |
index 8b86435eb673f4d388a9d6edf7980245a98d982d..2aea9ed988f15e9d43a4b4235a7fb5a29a768141 100644 |
--- a/content/browser/renderer_host/render_sandbox_host_linux.cc |
+++ b/content/browser/renderer_host/render_sandbox_host_linux.cc |
@@ -745,12 +745,9 @@ void RenderSandboxHostLinux::Init(const std::string& sandbox_path) { |
childs_lifeline_fd_ = pipefds[1]; |
// We need to be monothreaded before we fork(). |
-#if !defined(TOOLKIT_GTK) && !defined(THREAD_SANITIZER) |
- // Exclude gtk port as TestSuite in base/tests/test_suite.cc is calling |
- // gtk_init. |
- // TODO(oshima): Remove ifdef when above issues are resolved. |
+#if !defined(THREAD_SANITIZER) |
DCHECK_EQ(1, base::GetNumberOfThreads(base::GetCurrentProcessHandle())); |
-#endif // !defined(TOOLKIT_GTK) && !defined(THREAD_SANITIZER) |
+#endif // !defined(THREAD_SANITIZER) |
pid_ = fork(); |
if (pid_ == 0) { |
if (IGNORE_EINTR(close(fds[0])) < 0) |