Chromium Code Reviews

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

Issue 2692883003: Actually delegate in additional FilterEffectBuilder constructor (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | 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/FilterEffectBuilder.cpp
diff --git a/third_party/WebKit/Source/core/paint/FilterEffectBuilder.cpp b/third_party/WebKit/Source/core/paint/FilterEffectBuilder.cpp
index 2ce278baf4886eda08dccf39df80c4f0f54147a4..7cdbd97253d388f42c5ade86308599c845bc3a5a 100644
--- a/third_party/WebKit/Source/core/paint/FilterEffectBuilder.cpp
+++ b/third_party/WebKit/Source/core/paint/FilterEffectBuilder.cpp
@@ -123,10 +123,12 @@ Vector<float> sepiaMatrix(double amount) {
FilterEffectBuilder::FilterEffectBuilder(const FloatRect& zoomedReferenceBox,
float zoom,
const SkPaint* fillPaint,
- const SkPaint* strokePaint) {
- FilterEffectBuilder(nullptr, zoomedReferenceBox, zoom, fillPaint,
- strokePaint);
-}
+ const SkPaint* strokePaint)
+ : FilterEffectBuilder(nullptr,
+ zoomedReferenceBox,
+ zoom,
+ fillPaint,
+ strokePaint) {}
FilterEffectBuilder::FilterEffectBuilder(Node* target,
const FloatRect& zoomedReferenceBox,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine