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

Unified Diff: third_party/WebKit/Source/core/style/StyleReflection.h

Issue 2901433002: Replace NinePieceImage.setMaskDefault with static method. (Closed)
Patch Set: Created 3 years, 7 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/style/StyleRareNonInheritedData.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/style/StyleReflection.h
diff --git a/third_party/WebKit/Source/core/style/StyleReflection.h b/third_party/WebKit/Source/core/style/StyleReflection.h
index 97fdef0d86f3bedf039027518e3397ff8d459e61..8d45c4afef5fa7609c5b5a784f0a484f2e033a1d 100644
--- a/third_party/WebKit/Source/core/style/StyleReflection.h
+++ b/third_party/WebKit/Source/core/style/StyleReflection.h
@@ -53,9 +53,10 @@ class StyleReflection : public RefCounted<StyleReflection> {
void SetMask(const NinePieceImage& image) { mask_ = image; }
private:
- StyleReflection() : direction_(kReflectionBelow), offset_(0, kFixed) {
- mask_.SetMaskDefaults();
- }
+ StyleReflection()
+ : direction_(kReflectionBelow),
+ offset_(0, kFixed),
+ mask_(NinePieceImage::MaskDefaults()) {}
CSSReflectionDirection direction_;
Length offset_;
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698