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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSParserFastPathsTest.cpp

Issue 2812643002: Fix names of local constants after blink rename. (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/parser/CSSParserFastPathsTest.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserFastPathsTest.cpp b/third_party/WebKit/Source/core/css/parser/CSSParserFastPathsTest.cpp
index 6b8eaf7eebf66a6f11ec7ab7e3883ae0c461756c..d2a96befe659ca2778481583f0fe5e29fc9b032a 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSParserFastPathsTest.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSParserFastPathsTest.cpp
@@ -63,23 +63,23 @@ TEST(CSSParserFastPathsTest, ParseTransform) {
TEST(CSSParserFastPathsTest, ParseComplexTransform) {
// Random whitespace is on purpose.
- static const char* k_complex_transform =
+ static const char* kComplexTransform =
"translateX(5px) "
"translateZ(20.5px) "
"translateY(10px) "
"scale3d(0.5, 1, 0.7) "
"matrix3d(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16) ";
- static const char* k_complex_transform_normalized =
+ static const char* kComplexTransformNormalized =
"translateX(5px) "
"translateZ(20.5px) "
"translateY(10px) "
"scale3d(0.5, 1, 0.7) "
"matrix3d(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)";
CSSValue* value = CSSParserFastPaths::MaybeParseValue(
- CSSPropertyTransform, k_complex_transform, kHTMLStandardMode);
+ CSSPropertyTransform, kComplexTransform, kHTMLStandardMode);
ASSERT_NE(nullptr, value);
ASSERT_TRUE(value->IsValueList());
- ASSERT_EQ(k_complex_transform_normalized, value->CssText());
+ ASSERT_EQ(kComplexTransformNormalized, value->CssText());
}
TEST(CSSParserFastPathsTest, ParseTransformNotFastPath) {

Powered by Google App Engine
This is Rietveld 408576698