summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-05-11 13:41:38 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-05-11 18:06:23 +0000
commitdbc3d3e1e0b28692c31f08f6b4c606577255078d (patch)
tree8f7201ae9d8318557b9e887aec6ab2a39b7d67f6
parent6e4ecaf073843e571f4c0a72a0b6d81a01b01607 (diff)
downloadpdfium-dbc3d3e1e0b28692c31f08f6b4c606577255078d.tar.xz
Fixup Initialize spellingchromium/3097
Change-Id: Ibd8d70264d79afc0baabaa5093aceb21ee777196 Reviewed-on: https://pdfium-review.googlesource.com/5334 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
-rw-r--r--core/fxcrt/fx_memory.cpp2
-rw-r--r--core/fxcrt/fx_memory.h2
-rw-r--r--fpdfsdk/fpdfview.cpp2
-rw-r--r--testing/unit_test_main.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/core/fxcrt/fx_memory.cpp b/core/fxcrt/fx_memory.cpp
index 2807139aa2..2afcbcecee 100644
--- a/core/fxcrt/fx_memory.cpp
+++ b/core/fxcrt/fx_memory.cpp
@@ -11,7 +11,7 @@
pdfium::base::PartitionAllocatorGeneric gArrayBufferPartitionAllocator;
pdfium::base::PartitionAllocatorGeneric gStringPartitionAllocator;
-void FXMEM_InitalizePartitionAlloc() {
+void FXMEM_InitializePartitionAlloc() {
static bool s_gPartitionAllocatorsInitialized = false;
if (!s_gPartitionAllocatorsInitialized) {
pdfium::base::PartitionAllocGlobalInit(FX_OutOfMemoryTerminate);
diff --git a/core/fxcrt/fx_memory.h b/core/fxcrt/fx_memory.h
index 684f2f2646..9a7de4cc2b 100644
--- a/core/fxcrt/fx_memory.h
+++ b/core/fxcrt/fx_memory.h
@@ -32,7 +32,7 @@ void FXMEM_DefaultFree(void* pointer, int flags);
extern pdfium::base::PartitionAllocatorGeneric gArrayBufferPartitionAllocator;
extern pdfium::base::PartitionAllocatorGeneric gStringPartitionAllocator;
-void FXMEM_InitalizePartitionAlloc();
+void FXMEM_InitializePartitionAlloc();
NEVER_INLINE void FX_OutOfMemoryTerminate();
inline void* FX_SafeRealloc(void* ptr, size_t num_members, size_t member_size) {
diff --git a/fpdfsdk/fpdfview.cpp b/fpdfsdk/fpdfview.cpp
index 72ef75ce07..616402e564 100644
--- a/fpdfsdk/fpdfview.cpp
+++ b/fpdfsdk/fpdfview.cpp
@@ -371,7 +371,7 @@ FPDF_InitLibraryWithConfig(const FPDF_LIBRARY_CONFIG* cfg) {
if (g_pCodecModule)
return;
- FXMEM_InitalizePartitionAlloc();
+ FXMEM_InitializePartitionAlloc();
g_pCodecModule = new CCodec_ModuleMgr();
CFX_GEModule* pModule = CFX_GEModule::Get();
diff --git a/testing/unit_test_main.cpp b/testing/unit_test_main.cpp
index d8076abec6..f57ec3c555 100644
--- a/testing/unit_test_main.cpp
+++ b/testing/unit_test_main.cpp
@@ -9,7 +9,7 @@
// Can't use gtest-provided main since we need to initialize partition
// alloc before invoking any test.
int main(int argc, char** argv) {
- FXMEM_InitalizePartitionAlloc();
+ FXMEM_InitializePartitionAlloc();
testing::InitGoogleTest(&argc, argv);
testing::InitGoogleMock(&argc, argv);
return RUN_ALL_TESTS();