diff options
author | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-25 03:20:16 +0000 |
---|---|---|
committer | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-25 03:20:16 +0000 |
commit | 2d75c073c699b4d558806cc898bfe4eccb92452b (patch) | |
tree | 0c54645851012f00b5c353161d94978d5a7c8a1a /ppapi | |
parent | 50d9dd812a6238daab5624f6512553c8d81918e8 (diff) | |
download | chromium_src-2d75c073c699b4d558806cc898bfe4eccb92452b.zip chromium_src-2d75c073c699b4d558806cc898bfe4eccb92452b.tar.gz chromium_src-2d75c073c699b4d558806cc898bfe4eccb92452b.tar.bz2 |
[OSX] Forward Flapper GetLocalTimeZoneOffset() to browser on OSX.
The local version is broken by the sandbox. AFAICT the sandbox warmup
should allow this to work, but does not.
BUG=149006
Review URL: https://chromiumcodereview.appspot.com/10991007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158514 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r-- | ppapi/proxy/ppb_flash_proxy.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ppapi/proxy/ppb_flash_proxy.cc b/ppapi/proxy/ppb_flash_proxy.cc index eeddaf3..a8767f7 100644 --- a/ppapi/proxy/ppb_flash_proxy.cc +++ b/ppapi/proxy/ppb_flash_proxy.cc @@ -243,7 +243,9 @@ double PPB_Flash_Proxy::GetLocalTimeZoneOffset(PP_Instance instance, return s_local_offset; s_last_updated = now.ToInternalValue(); -#if defined(OS_LINUX) + // TODO(shess): Figure out why OSX needs the access, the sandbox + // warmup should handle it. http://crbug.com/149006 +#if defined(OS_LINUX) || defined(OS_MACOSX) // On Linux localtime needs access to the filesystem, which is prohibited // by the sandbox. It would be better to go directly to the browser process // for this message rather than proxy it through some instance in a renderer. |