Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / web / WebGeolocationError.cpp
index ed17173..9bf50d8 100644 (file)
  */
 
 #include "config.h"
-#include "WebGeolocationError.h"
+#include "public/web/WebGeolocationError.h"
 
 #include "modules/geolocation/GeolocationError.h"
 #include "public/platform/WebString.h"
 
-using namespace WebCore;
+using namespace blink;
 
 namespace blink {
 
@@ -48,18 +48,18 @@ void WebGeolocationError::reset()
     m_private.reset();
 }
 
-WebGeolocationError::WebGeolocationError(PassRefPtr<GeolocationError> error)
+WebGeolocationError::WebGeolocationError(GeolocationError* error)
 {
     m_private = error;
 }
 
-WebGeolocationError& WebGeolocationError::operator=(PassRefPtr<GeolocationError> error)
+WebGeolocationError& WebGeolocationError::operator=(GeolocationError* error)
 {
     m_private = error;
     return *this;
 }
 
-WebGeolocationError::operator PassRefPtr<GeolocationError>() const
+WebGeolocationError::operator GeolocationError*() const
 {
     return m_private.get();
 }