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

Unified Diff: third_party/WebKit/Source/core/css/CSSToLengthConversionData.cpp

Issue 2812743003: Rename cleanup in comments in css/ directory. (Closed)
Patch Set: Created 3 years, 8 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/core/css/CSSToLengthConversionData.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSToLengthConversionData.cpp b/third_party/WebKit/Source/core/css/CSSToLengthConversionData.cpp
index d409933f2cb1ac296734238cb1992ea59d282944..1a4ef71b57ba453c426414e341c58b166940533c 100644
--- a/third_party/WebKit/Source/core/css/CSSToLengthConversionData.cpp
+++ b/third_party/WebKit/Source/core/css/CSSToLengthConversionData.cpp
@@ -97,7 +97,7 @@ CSSToLengthConversionData::CSSToLengthConversionData(
zoom) {}
double CSSToLengthConversionData::ViewportWidthPercent() const {
- // FIXME: Remove m_style from this class. Plumb viewport and rem unit
+ // FIXME: Remove style_ from this class. Plumb viewport and rem unit
// information through as output parameters on functions involved in length
// resolution.
const_cast<ComputedStyle*>(style_)->SetHasViewportUnits(true);
@@ -124,9 +124,9 @@ float CSSToLengthConversionData::RemFontSize() const {
double CSSToLengthConversionData::ZoomedComputedPixels(
double value,
CSSPrimitiveValue::UnitType type) const {
- // The logic in this function is duplicated in MediaValues::computeLength()
- // because MediaValues::computeLength() needs nearly identical logic, but we
- // haven't found a way to make zoomedComputedPixels() more generic (to solve
+ // The logic in this function is duplicated in MediaValues::ComputeLength()
+ // because MediaValues::ComputeLength() needs nearly identical logic, but we
+ // haven't found a way to make ZoomedComputedPixels() more generic (to solve
// both cases) without hurting performance.
switch (type) {
case CSSPrimitiveValue::UnitType::kPixels:

Powered by Google App Engine
This is Rietveld 408576698