From ff6a037798489e3dc77bcba7af8851d894e78471 Mon Sep 17 00:00:00 2001 From: Steve Block Date: Thu, 17 May 2012 23:28:22 +0100 Subject: Use preemptive permissions policy for Geolocation This means that we always check for permission before starting the location acquisition process. We pass all Geolocation LayoutTests. Bug: 4500947 Change-Id: Ia963874cecbf79ce2cc99c5f848682d1cc8aa6aa --- Source/JavaScriptCore/wtf/Platform.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'Source/JavaScriptCore') diff --git a/Source/JavaScriptCore/wtf/Platform.h b/Source/JavaScriptCore/wtf/Platform.h index 76c2ae4..5ac08d1 100644 --- a/Source/JavaScriptCore/wtf/Platform.h +++ b/Source/JavaScriptCore/wtf/Platform.h @@ -1285,13 +1285,8 @@ Client based implementations will have option to choose between pre-emptive and nonpre-emptive permission policy. pre-emptive permission policy is enabled by default for all client-based implementations. */ #if ENABLE(CLIENT_BASED_GEOLOCATION) -#if PLATFORM(ANDROID) -// Consider enabling preemptive permissions. See b/4500947. -#define WTF_USE_PREEMPT_GEOLOCATION_PERMISSION 0 -#else #define WTF_USE_PREEMPT_GEOLOCATION_PERMISSION 1 #endif -#endif #if CPU(ARM_THUMB2) #define ENABLE_BRANCH_COMPACTION 1 -- cgit v1.1