Skip to content

Commit

Permalink
Remove instance of SbFileAtomicReplace
Browse files Browse the repository at this point in the history
  • Loading branch information
kaidokert committed Sep 16, 2024
1 parent 514e328 commit c022dc1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/update_client/cobalt_slot_management_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

#include "base/strings/string_util.h"
#include "base/time/time.h"
#include "base/files/important_file_writer.h"
#include "starboard/common/file.h"
#include "starboard/extension/free_space.h"
#include "starboard/file.h"
Expand Down Expand Up @@ -85,7 +86,7 @@ class CobaltSlotManagementTest : public testing::Test {
manifest1_path += kSbFileSepString;
manifest1_path += "manifest.json";

ASSERT_TRUE(SbFileAtomicReplace(manifest1_path.c_str(), data, data_length));
ASSERT_TRUE(ImportantFileWriter::WriteFileAtomically(manifest1_path.c_str(), data));
}

const CobaltExtensionInstallationManagerApi* api_;
Expand Down

0 comments on commit c022dc1

Please sign in to comment.