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

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

Issue 2767853002: Remove default argument on ComputedStyle::setHasViewportUnits(). (Closed)
Patch Set: Rebase Created 3 years, 8 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/CSSToLengthConversionData.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 337d4ed513b0b45fe942d8bf1699a171a02a6008..1c521e57445e13919d2207951570d3f60c84884f 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -2346,7 +2346,8 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
bool hasViewportUnits() const {
return m_nonInheritedData.m_hasViewportUnits;
}
- void setHasViewportUnits(bool hasViewportUnits = true) {
+ // TODO(shend): This function should take no arguments.
+ void setHasViewportUnits(bool hasViewportUnits) {
m_nonInheritedData.m_hasViewportUnits = hasViewportUnits;
}
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSToLengthConversionData.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698