Resolve some simple clang-tidy warnings.

These include:

- use of nullptr
- use of `= default` for trivial methods
- use of nested namespaces
- use of emplace_back()
- matching /*variable=*/ comments with actual name.

Change-Id: I8a0639f442fd0fed39d3061b83d855302d7b7d7e
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/111170
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
diff --git a/constants/page_object.cpp b/constants/page_object.cpp
index 0a3e068..45d3020 100644
--- a/constants/page_object.cpp
+++ b/constants/page_object.cpp
@@ -4,8 +4,7 @@
 
 #include "constants/page_object.h"
 
-namespace pdfium {
-namespace page_object {
+namespace pdfium::page_object {
 
 // PDF 1.7 spec, table 3.27.
 // Entries in a page object.
@@ -20,5 +19,4 @@
 const char kContents[] = "Contents";
 const char kRotate[] = "Rotate";
 
-}  // namespace page_object
-}  // namespace pdfium
+}  // namespace pdfium::page_object