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

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

Issue 2880573002: Store border-*-style on SurroundData in ComputedStyle (Closed)
Patch Set: Store border-*-style on SurroundData in ComputedStyle not BorderStyle 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
Index: third_party/WebKit/Source/core/style/StyleMultiColData.h
diff --git a/third_party/WebKit/Source/core/style/StyleMultiColData.h b/third_party/WebKit/Source/core/style/StyleMultiColData.h
index 96c5f536544efa1c07135e646f0bc0384612e6e3..bc9d257a5b0a2fc790ed52329f50e0c7482078bf 100644
--- a/third_party/WebKit/Source/core/style/StyleMultiColData.h
+++ b/third_party/WebKit/Source/core/style/StyleMultiColData.h
@@ -48,8 +48,8 @@ class CORE_EXPORT StyleMultiColData : public RefCounted<StyleMultiColData> {
bool operator!=(const StyleMultiColData& o) const { return !(*this == o); }
unsigned short RuleWidth() const {
- if (rule_.Style() == kBorderStyleNone ||
- rule_.Style() == kBorderStyleHidden)
+ if (rule_.Style() == EBorderStyle::kNone ||
+ rule_.Style() == EBorderStyle::kHidden)
return 0;
return rule_.Width();
}

Powered by Google App Engine
This is Rietveld 408576698