[Webkit-unassigned] [Bug 26993] Geolocation::requestPermission()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 28 09:15:35 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=26993





--- Comment #1 from Yong Li <yong.li at torchmobile.com>  2009-07-28 09:15:34 PDT ---

The patch:

--- a/WebCore/page/Geolocation.cpp
+++ b/WebCore/page/Geolocation.cpp
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2008, 2009 Apple Inc. All Rights Reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -264,10 +265,10 @@ void Geolocation::requestPermission()
     if (!page)
         return;

+    m_allowGeolocation = InProgress;
+
     // Ask the chrome: it maintains the geolocation challenge policy itself.
     page->chrome()->requestGeolocationPermissionForFrame(m_frame, this);
-    
-    m_allowGeolocation = InProgress;
 }

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list