Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / chromeos / platform_keys / platform_keys_service.cc
index 3f8268a..7ba138c 100644 (file)
@@ -185,9 +185,8 @@ void PlatformKeysService::RegisterPublicKeyGotPlatformKeys(
          "times.";
   platform_keys->Append(key_value.release());
 
-  state_store_->SetExtensionValue(extension_id,
-                                  kStateStorePlatformKeys,
-                                  platform_keys.PassAs<base::Value>());
+  state_store_->SetExtensionValue(
+      extension_id, kStateStorePlatformKeys, platform_keys.Pass());
   callback.Run(true);
 }
 
@@ -206,9 +205,8 @@ void PlatformKeysService::InvalidateKey(
     return;
   }
 
-  state_store_->SetExtensionValue(extension_id,
-                                  kStateStorePlatformKeys,
-                                  platform_keys.PassAs<base::Value>());
+  state_store_->SetExtensionValue(
+      extension_id, kStateStorePlatformKeys, platform_keys.Pass());
   callback.Run(true);
 }