Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / test / chromedriver / chrome / log.cc
index 75ed25b..a40f9b2 100644 (file)
@@ -49,7 +49,7 @@ scoped_ptr<base::Value> SmartDeepCopy(const base::Value* value) {
       dict_copy->SetWithoutPathExpansion(it.key(),
                                          SmartDeepCopy(child).release());
     }
-    return dict_copy.PassAs<base::Value>();
+    return dict_copy.Pass();
   } else if (value->GetAsList(&list)) {
     scoped_ptr<base::ListValue> list_copy(new base::ListValue());
     for (size_t i = 0; i < list->GetSize(); ++i) {
@@ -62,7 +62,7 @@ scoped_ptr<base::Value> SmartDeepCopy(const base::Value* value) {
       }
       list_copy->Append(SmartDeepCopy(child).release());
     }
-    return list_copy.PassAs<base::Value>();
+    return list_copy.Pass();
   } else if (value->GetAsString(&data)) {
     TruncateString(&data);
     return scoped_ptr<base::Value>(new base::StringValue(data));