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

Unified Diff: third_party/WebKit/Source/core/paint/NinePieceImageGridTest.cpp

Issue 2817523002: Cleanup CSSGradientValue (Closed)
Patch Set: some more comments 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
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/paint/NinePieceImageGridTest.cpp
diff --git a/third_party/WebKit/Source/core/paint/NinePieceImageGridTest.cpp b/third_party/WebKit/Source/core/paint/NinePieceImageGridTest.cpp
index 565c5baf1934e3f42dfbeb841f84e42915b6c56c..0a41f77728232787cdc751595dbdcae58422bcc0 100644
--- a/third_party/WebKit/Source/core/paint/NinePieceImageGridTest.cpp
+++ b/third_party/WebKit/Source/core/paint/NinePieceImageGridTest.cpp
@@ -19,8 +19,8 @@ class NinePieceImageGridTest : public RenderingTest {
NinePieceImageGridTest() {}
StyleImage* GeneratedImage() {
- CSSLinearGradientValue* gradient =
- CSSLinearGradientValue::Create(kRepeating);
+ CSSGradientValue* gradient = CSSLinearGradientValue::Create(
+ nullptr, nullptr, nullptr, nullptr, nullptr, kRepeating);
return StyleGeneratedImage::Create(*gradient);
}
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698