Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / content / common / sandbox_init_win.cc
index 16e3e4a..fe67bda 100644 (file)
@@ -26,6 +26,11 @@ bool InitializeSandbox(sandbox::SandboxInterfaceInfo* sandbox_info) {
     // process to swap its window station. During this time all the UI will be
     // broken. This has to run before threads and windows are created.
     if (!command_line.HasSwitch(switches::kNoSandbox)) {
+#if defined(ADDRESS_SANITIZER) && defined(OS_WIN)
+      LOG(FATAL) << "AddressSanitizer for Windows doesn't support sandboxing "
+                    "yet (http://crbug.com/382867).  "
+                    "Please rerun with sandbox disabled.";
+#endif
       // Precreate the desktop and window station used by the renderers.
       sandbox::TargetPolicy* policy = broker_services->CreatePolicy();
       sandbox::ResultCode result = policy->CreateAlternateDesktop(true);