Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Unified Diff: core/include/fxcrt/fx_system.h

Issue 900753002: Add namespace and re-arrange PDFium's local copy of chromium /base. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: core/include/fxcrt/fx_system.h
diff --git a/core/include/fxcrt/fx_system.h b/core/include/fxcrt/fx_system.h
index 355bd743273a1df66b530ae3bf5e51178814c56b..d6c7057af706c77440d2296ea2e6e98220ec27f7 100644
--- a/core/include/fxcrt/fx_system.h
+++ b/core/include/fxcrt/fx_system.h
@@ -276,10 +276,10 @@ int FXSYS_round(FX_FLOAT f);
#ifdef __cplusplus
};
-#include "../../../third_party/numerics/safe_math.h"
-typedef base::CheckedNumeric<FX_DWORD> FX_SAFE_DWORD;
-typedef base::CheckedNumeric<FX_INT32> FX_SAFE_INT32;
-typedef base::CheckedNumeric<size_t> FX_SAFE_SIZE_T;
+#include "../../../third_party/base/numerics/safe_math.h"
+typedef third_party::base::CheckedNumeric<FX_DWORD> FX_SAFE_DWORD;
+typedef third_party::base::CheckedNumeric<FX_INT32> FX_SAFE_INT32;
+typedef third_party::base::CheckedNumeric<size_t> FX_SAFE_SIZE_T;
#if defined(__clang__) || _MSC_VER >= 1700
#define FX_FINAL final

Powered by Google App Engine
This is Rietveld 408576698