Fix some typos.
One found by Spellchecker. One found manually.
Change-Id: Idd32c6907a73c016adcb89a7a1d1cb6f626af6b4
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/92810
Reviewed-by: Nigi <nigi@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
diff --git a/fpdfsdk/fpdf_text_embeddertest.cpp b/fpdfsdk/fpdf_text_embeddertest.cpp
index 51715e0..4ba0ebb 100644
--- a/fpdfsdk/fpdf_text_embeddertest.cpp
+++ b/fpdfsdk/fpdf_text_embeddertest.cpp
@@ -1011,7 +1011,7 @@
// There isn't the \0 in the actual doc, but there is a \r\n, so need to
// add 1 to get aligned.
constexpr size_t offset = std::size(soft_expected) + 1;
- // Expecting 'User-\r\ngenerated', the - is a unicode character, so cannnot
+ // Expecting 'User-\r\ngenerated', the - is a unicode character, so cannot
// store in a char[].
constexpr unsigned short hard_expected[] = {
0x0055, 0x0073, 0x0065, 0x0072, 0x2010, 0x000d, 0x000a, 0x0067, 0x0065,
diff --git a/fxjs/cfxjs_engine_unittest.cpp b/fxjs/cfxjs_engine_unittest.cpp
index 0fb3076..91089db 100644
--- a/fxjs/cfxjs_engine_unittest.cpp
+++ b/fxjs/cfxjs_engine_unittest.cpp
@@ -37,7 +37,7 @@
static bool temp_destroyed = false;
TEST_F(FXJSEngineUnitTest, GC) {
- // Reset variables since there maight be multiple iterations.
+ // Reset variables since there might be multiple iterations.
perm_created = false;
perm_destroyed = false;
temp_created = false;