summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/browser/child_process_launcher.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/content/browser/child_process_launcher.cc b/content/browser/child_process_launcher.cc
index 5d3888e..a812b26 100644
--- a/content/browser/child_process_launcher.cc
+++ b/content/browser/child_process_launcher.cc
@@ -236,6 +236,13 @@ class ChildProcessLauncher::Context
process_.SetProcessBackgrounded(background);
}
+// TODO(apatrick): Remove this ASAP. http://crbog.com/81449 shows that this is
+// called before later calling null. Disable optimization to try and get more
+// information about what happened here.
+#if defined(OS_WIN)
+#pragma optimize("", off)
+#endif
+
static void TerminateInternal(
#if defined(OS_LINUX)
bool zygote,
@@ -261,6 +268,10 @@ class ChildProcessLauncher::Context
process.Close();
}
+#if defined(OS_WIN)
+#pragma optimize("", on)
+#endif
+
Client* client_;
BrowserThread::ID client_thread_id_;
base::Process process_;