tizen 2.4 release
[framework/web/wrt-plugins-common.git] / src / CommonsJavaScript / Validator.h
similarity index 97%
rename from src_mobile/CommonsJavaScript/Validator.h
rename to src/CommonsJavaScript/Validator.h
index 6a89550..315ffcf 100644 (file)
@@ -21,7 +21,7 @@
 #include <vector>
 #include <JavaScriptCore/JavaScript.h>
 #include <dpl/noncopyable.h>
-#include <dpl/shared_ptr.h>
+#include <memory>
 #include <Commons/Exception.h>
 
 namespace WrtDeviceApis {
@@ -70,7 +70,7 @@ class ValidatorFactory : private DPL::Noncopyable
     /**
      * Validator type which deletes itself when gets out of scope.
      */
-    typedef DPL::SharedPtr<C> ValidatorType;
+    typedef std::shared_ptr<C> ValidatorType;
 
   public:
     /**