Chromium Code Reviews| Index: content/common/sandbox_mac.mm |
| diff --git a/content/common/sandbox_mac.mm b/content/common/sandbox_mac.mm |
| index a9f42e2ec925dc5010fb5b8124cd71a32d7ae0de..ae2d2057e57509b3fdab71be4ae6d8b376e2f98b 100644 |
| --- a/content/common/sandbox_mac.mm |
| +++ b/content/common/sandbox_mac.mm |
| @@ -36,6 +36,7 @@ extern "C" { |
| #include "third_party/icu/source/common/unicode/uchar.h" |
| #include "ui/base/layout.h" |
| #include "ui/gl/gl_surface.h" |
| +#include "ui/gl/io_surface_support_mac.h" |
| namespace content { |
| namespace { |
| @@ -307,6 +308,14 @@ void Sandbox::SandboxWarmup(int sandbox_type) { |
| base::GetUrandomFD(); |
| } |
| + { // IOSurfaceLookup() - 10.7 |
|
jeremy
2013/11/27 08:26:09
Is there a bug you can link to?
Any idea how expe
reveman
2013/11/27 16:04:28
Done.
|
| + IOSurfaceSupport* io_surface_support = IOSurfaceSupport::Initialize(); |
| + if (io_surface_support) { |
| + base::ScopedCFTypeRef<CFTypeRef> io_surface( |
| + io_surface_support->IOSurfaceLookup(0)); |
| + } |
| + } |
| + |
| // Process-type dependent warm-up. |
| if (sandbox_type == SANDBOX_TYPE_UTILITY) { |
| // CFTimeZoneCopyZone() tries to read /etc and /private/etc/localtime - 10.8 |