Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1430)

Unified Diff: ppapi/proxy/ppb_flash_proxy.cc

Issue 10991007: [OSX] Forward Flapper GetLocalTimeZoneOffset() to browser on OSX. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_flash_proxy.cc
diff --git a/ppapi/proxy/ppb_flash_proxy.cc b/ppapi/proxy/ppb_flash_proxy.cc
index eeddaf335cddcf0179a3d7bfab46b1107ea3acd7..a8767f7b0d7737f5f9d9a42e68eb2c5230293c15 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.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698