]>
Commit | Line | Data |
---|---|---|
7abc645c ER |
1 | --- |
2 | base/logging.h | 2 +- | |
3 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
4 | ||
5 | Index: src/base/logging.h | |
6 | =================================================================== | |
7 | --- ./src.orig/base/logging.h | |
8 | +++ ./src/base/logging.h | |
9 | @@ -495,17 +495,17 @@ | |
10 | #define CHECK_LT(val1, val2) CHECK_OP(LT, < , val1, val2) | |
11 | #define CHECK_GE(val1, val2) CHECK_OP(GE, >=, val1, val2) | |
12 | #define CHECK_GT(val1, val2) CHECK_OP(GT, > , val1, val2) | |
13 | ||
14 | // http://crbug.com/16512 is open for a real fix for this. For now, Windows | |
15 | // uses OFFICIAL_BUILD and other platforms use the branding flag when NDEBUG is | |
16 | // defined. | |
17 | #if ( defined(OS_WIN) && defined(OFFICIAL_BUILD)) || \ | |
18 | - (!defined(OS_WIN) && defined(NDEBUG) && defined(GOOGLE_CHROME_BUILD)) | |
19 | + (!defined(OS_WIN) && defined(NDEBUG)) | |
20 | // Used by unit tests. | |
21 | #define LOGGING_IS_OFFICIAL_BUILD | |
22 | ||
23 | // In order to have optimized code for official builds, remove DLOGs and | |
24 | // DCHECKs. | |
25 | #define ENABLE_DLOG 0 | |
26 | #define ENABLE_DCHECK 0 | |
27 |