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

Unified Diff: third_party/WebKit/public/platform/WebMediaConstraints.h

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
« no previous file with comments | « third_party/WebKit/Source/wtf/dtoa/cached-powers.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebMediaConstraints.h
diff --git a/third_party/WebKit/public/platform/WebMediaConstraints.h b/third_party/WebKit/public/platform/WebMediaConstraints.h
index 49b6bd13d345950f430dc10e14348db4992a5411..9ad9fe70f286f534fe96ad3cb41c114a3435c43c 100644
--- a/third_party/WebKit/public/platform/WebMediaConstraints.h
+++ b/third_party/WebKit/public/platform/WebMediaConstraints.h
@@ -98,10 +98,10 @@ private:
class BLINK_PLATFORM_EXPORT DoubleConstraint : public BaseConstraint {
public:
-// Permit a certain leeway when comparing floats.
-// The offset of 0.00001 is chosen based on observed behavior of
-// doubles formatted with rtc::ToString.
- static double kConstraintEpsilon;
+ // Permit a certain leeway when comparing floats. The offset of 0.00001
+ // is chosen based on observed behavior of doubles formatted with
+ // rtc::ToString.
+ static const double kConstraintEpsilon;
explicit DoubleConstraint(const char* name);
« no previous file with comments | « third_party/WebKit/Source/wtf/dtoa/cached-powers.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698