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

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

Issue 2884153002: Move RareInheritedData (Quotes|Shadow)DataEquivalent to ComputedStyle. (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 | « no previous file | third_party/WebKit/Source/core/style/ComputedStyle.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index dc96497bafc041653082bc889f6ec7616c6e9056..76e5604a2f3b1265bed4ef04fd2c2682f9782ace 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -1700,6 +1700,8 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase<ComputedStyle>,
QuotesData* Quotes() const { return rare_inherited_data_->quotes_.Get(); }
void SetQuotes(PassRefPtr<QuotesData>);
+ bool QuotesDataEquivalent(const ComputedStyle&) const;
+
// line-height-step
static uint8_t InitialLineHeightStep() { return 0; }
uint8_t LineHeightStep() const {
@@ -1792,6 +1794,8 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase<ComputedStyle>,
}
void SetTextShadow(PassRefPtr<ShadowList>);
+ bool TextShadowDataEquivalent(const ComputedStyle&) const;
+
// text-size-adjust (aka -webkit-text-size-adjust)
static TextSizeAdjust InitialTextSizeAdjust() {
return TextSizeAdjust::AdjustAuto();
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/style/ComputedStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698