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

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

Issue 2657423004: Moved nonproperty isLink to be generated in ComputedStyleBase. (Closed)
Patch Set: Address comments Created 3 years, 9 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/build/scripts/make_computed_style_base.py ('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/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index 043e2233a9150af7460166166e09b755e054d71a..df1550e7cf3ee10779f5ea26fcfd0520db22b0bb 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -270,8 +270,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
// 64 bits
- unsigned m_isLink : 1;
-
mutable unsigned m_hasRemUnits : 1;
// If you add more style bits here, you will also need to update
@@ -297,7 +295,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
m_nonInheritedData.m_pseudoBits = 0;
m_nonInheritedData.m_emptyState = false;
m_nonInheritedData.m_hasViewportUnits = false;
- m_nonInheritedData.m_isLink = false;
m_nonInheritedData.m_hasRemUnits = false;
}
@@ -2452,9 +2449,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
SET_VAR(m_rareNonInheritedData, m_hasCompositorProxy, b);
}
- bool isLink() const { return m_nonInheritedData.m_isLink; }
- void setIsLink() { m_nonInheritedData.m_isLink = true; }
-
EInsideLink insideLink() const {
return static_cast<EInsideLink>(m_inheritedData.m_insideLink);
}
« no previous file with comments | « third_party/WebKit/Source/build/scripts/make_computed_style_base.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698