summaryrefslogtreecommitdiffstats
path: root/applypatch/include
diff options
context:
space:
mode:
authorTianjie <xunchang@google.com>2020-07-23 02:40:09 +0200
committerTianjie <xunchang@google.com>2020-07-23 23:02:21 +0200
commit78d15141733324ef89d1d5d04799e0f2cf4a41e1 (patch)
treec7a4a5e7fb5b66842c745aef778e6d4cfc2b886d /applypatch/include
parentFix some wording to comply with respectful-code (diff)
downloadandroid_bootable_recovery-78d15141733324ef89d1d5d04799e0f2cf4a41e1.tar
android_bootable_recovery-78d15141733324ef89d1d5d04799e0f2cf4a41e1.tar.gz
android_bootable_recovery-78d15141733324ef89d1d5d04799e0f2cf4a41e1.tar.bz2
android_bootable_recovery-78d15141733324ef89d1d5d04799e0f2cf4a41e1.tar.lz
android_bootable_recovery-78d15141733324ef89d1d5d04799e0f2cf4a41e1.tar.xz
android_bootable_recovery-78d15141733324ef89d1d5d04799e0f2cf4a41e1.tar.zst
android_bootable_recovery-78d15141733324ef89d1d5d04799e0f2cf4a41e1.zip
Diffstat (limited to 'applypatch/include')
-rw-r--r--applypatch/include/applypatch/imgdiff_image.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/applypatch/include/applypatch/imgdiff_image.h b/applypatch/include/applypatch/imgdiff_image.h
index 671605160..aa8d129c3 100644
--- a/applypatch/include/applypatch/imgdiff_image.h
+++ b/applypatch/include/applypatch/imgdiff_image.h
@@ -211,7 +211,7 @@ class ZipModeImage : public Image {
bool Initialize(const std::string& filename) override;
- // Initialize a dummy ZipModeImage from an existing ImageChunk vector. For src img pieces, we
+ // Initialize a fake ZipModeImage from an existing ImageChunk vector. For src img pieces, we
// reconstruct a new file_content based on the source ranges; but it's not needed for the tgt img
// pieces; because for each chunk both the data and their offset within the file are unchanged.
void Initialize(const std::vector<ImageChunk>& chunks, const std::vector<uint8_t>& file_content) {
@@ -265,7 +265,7 @@ class ZipModeImage : public Image {
const std::vector<ZipModeImage>& split_src_images,
std::vector<SortedRangeSet>& split_src_ranges,
size_t total_tgt_size);
- // Construct the dummy split images based on the chunks info and source ranges; and move them into
+ // Construct the fake split images based on the chunks info and source ranges; and move them into
// the given vectors. Return true if we add a new split image into |split_tgt_images|, and
// false otherwise.
static bool AddSplitImageFromChunkList(const ZipModeImage& tgt_image,