Rename fx_rand to fx_random

Match FX_Random method names.

Change-Id: I2d178229563881479b80e1f86975f5b165475837
Reviewed-on: https://pdfium-review.googlesource.com/13093
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
diff --git a/BUILD.gn b/BUILD.gn
index 3d3917f..e66517e 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -843,8 +843,8 @@
     "core/fxcrt/fx_extension.h",
     "core/fxcrt/fx_memory.cpp",
     "core/fxcrt/fx_memory.h",
-    "core/fxcrt/fx_rand.cpp",
-    "core/fxcrt/fx_rand.h",
+    "core/fxcrt/fx_random.cpp",
+    "core/fxcrt/fx_random.h",
     "core/fxcrt/fx_safe_types.h",
     "core/fxcrt/fx_stream.cpp",
     "core/fxcrt/fx_stream.h",
diff --git a/core/fpdfapi/edit/cpdf_creator.cpp b/core/fpdfapi/edit/cpdf_creator.cpp
index 7d9f2d0c..38a21ba 100644
--- a/core/fpdfapi/edit/cpdf_creator.cpp
+++ b/core/fpdfapi/edit/cpdf_creator.cpp
@@ -19,7 +19,7 @@
 #include "core/fpdfapi/parser/cpdf_string.h"
 #include "core/fpdfapi/parser/fpdf_parser_decode.h"
 #include "core/fxcrt/fx_extension.h"
-#include "core/fxcrt/fx_rand.h"
+#include "core/fxcrt/fx_random.h"
 
 namespace {
 
diff --git a/core/fxcrt/fx_guid.cpp b/core/fxcrt/fx_guid.cpp
index 6f130f9..4d3a4e9 100644
--- a/core/fxcrt/fx_guid.cpp
+++ b/core/fxcrt/fx_guid.cpp
@@ -7,7 +7,7 @@
 #include "core/fxcrt/fx_guid.h"
 
 #include "core/fxcrt/fx_extension.h"
-#include "core/fxcrt/fx_rand.h"
+#include "core/fxcrt/fx_random.h"
 
 void FX_GUID_CreateV4(FX_GUID* pGUID) {
   FX_Random_GenerateMT((uint32_t*)pGUID, 4);
diff --git a/core/fxcrt/fx_rand.cpp b/core/fxcrt/fx_random.cpp
similarity index 98%
rename from core/fxcrt/fx_rand.cpp
rename to core/fxcrt/fx_random.cpp
index 7a0c3e4..4d8fc0e 100644
--- a/core/fxcrt/fx_rand.cpp
+++ b/core/fxcrt/fx_random.cpp
@@ -4,7 +4,7 @@
 
 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
 
-#include "core/fxcrt/fx_rand.h"
+#include "core/fxcrt/fx_random.h"
 
 #include "core/fxcrt/fx_memory.h"
 #include "core/fxcrt/fx_string.h"
diff --git a/core/fxcrt/fx_rand.h b/core/fxcrt/fx_random.h
similarity index 83%
rename from core/fxcrt/fx_rand.h
rename to core/fxcrt/fx_random.h
index db5f48f..c07ef79 100644
--- a/core/fxcrt/fx_rand.h
+++ b/core/fxcrt/fx_random.h
@@ -4,8 +4,8 @@
 
 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
 
-#ifndef CORE_FXCRT_FX_RAND_H_
-#define CORE_FXCRT_FX_RAND_H_
+#ifndef CORE_FXCRT_FX_RANDOM_H_
+#define CORE_FXCRT_FX_RANDOM_H_
 
 #include <stdint.h>
 
@@ -15,4 +15,4 @@
 void FX_Random_GenerateBase(uint32_t* pBuffer, int32_t iCount);
 void FX_Random_GenerateMT(uint32_t* pBuffer, int32_t iCount);
 
-#endif  // CORE_FXCRT_FX_RAND_H_
+#endif  // CORE_FXCRT_FX_RANDOM_H_