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

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

Issue 2665603002: Change setIsLink to conform with other nonproperty setters. (Closed)
Patch Set: Created 3 years, 11 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/css/resolver/StyleResolver.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/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index f8b43e85254401b46badced6ed2d3c03c967c555..8c23c5ca924e42493a0de20afd30ec8695f83ad4 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -2589,7 +2589,7 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
}
bool isLink() const { return m_nonInheritedData.m_isLink; }
- void setIsLink(bool b) { m_nonInheritedData.m_isLink = b; }
+ 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/core/css/resolver/StyleResolver.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698