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

Unified Diff: third_party/WebKit/Source/wtf/dtoa/cached-powers.cc

Issue 1636873005: blink: Fix naming and const-ness of constants and non-constants. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: constants: indents Created 4 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: third_party/WebKit/Source/wtf/dtoa/cached-powers.cc
diff --git a/third_party/WebKit/Source/wtf/dtoa/cached-powers.cc b/third_party/WebKit/Source/wtf/dtoa/cached-powers.cc
index 28650257d5ec300141a8a08c540c91f2c113a908..4bc1a74cdc2fb2b8acd7061f409b2402c7300869 100644
--- a/third_party/WebKit/Source/wtf/dtoa/cached-powers.cc
+++ b/third_party/WebKit/Source/wtf/dtoa/cached-powers.cc
@@ -158,7 +158,7 @@ namespace double_conversion {
#if ENABLE(ASSERT)
validateStaticConstants();
#endif
- int kQ = DiyFp::kSignificandSize;
+ const int kQ = DiyFp::kSignificandSize;
double k = ceil((min_exponent + kQ - 1) * kD_1_LOG2_10);
int foo = kCachedPowersOffset;
int index =
« no previous file with comments | « third_party/WebKit/Source/wtf/PartitionAllocTest.cpp ('k') | third_party/WebKit/public/platform/WebMediaConstraints.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698