Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / web / WebGeolocationPermissionRequest.cpp
index ccb13cb..090de4b 100644 (file)
 #include "public/platform/WebURL.h"
 #include "public/web/WebSecurityOrigin.h"
 
-using namespace WebCore;
-
 namespace blink {
 
+WebGeolocationPermissionRequest::WebGeolocationPermissionRequest(Geolocation* geolocation)
+    : m_private(geolocation)
+{
+}
+
+void WebGeolocationPermissionRequest::reset()
+{
+    m_private.reset();
+}
+
 WebSecurityOrigin WebGeolocationPermissionRequest::securityOrigin() const
 {
     return WebSecurityOrigin(m_private->executionContext()->securityOrigin());
@@ -46,4 +54,4 @@ void WebGeolocationPermissionRequest::setIsAllowed(bool allowed)
     m_private->setIsAllowed(allowed);
 }
 
-}
+} // namespace blink