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

Unified Diff: third_party/WebKit/Source/core/css/StylePropertySerializer.h

Issue 1982903002: Fix 'border' serialization to fail in cssText when it is invalid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/core/css/StylePropertySerializer.h
diff --git a/third_party/WebKit/Source/core/css/StylePropertySerializer.h b/third_party/WebKit/Source/core/css/StylePropertySerializer.h
index 42bb7fd437c8a35e18477faee75cfbdbdb192b2c..e075dad4cfa47c85693bf09ecc3cbcfbe6343bb5 100644
--- a/third_party/WebKit/Source/core/css/StylePropertySerializer.h
+++ b/third_party/WebKit/Source/core/css/StylePropertySerializer.h
@@ -41,8 +41,7 @@ public:
String getPropertyValue(CSSPropertyID) const;
private:
String getCommonValue(const StylePropertyShorthand&) const;
- enum CommonValueMode { OmitUncommonValues, ReturnNullOnUncommonValues };
- String borderPropertyValue(CommonValueMode) const;
+ String borderPropertyValue() const;
String getLayeredShorthandValue(const StylePropertyShorthand&) const;
String get4Values(const StylePropertyShorthand&) const;
String borderSpacingValue(const StylePropertyShorthand&) const;

Powered by Google App Engine
This is Rietveld 408576698