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

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

Issue 2878823002: Remove 'const' prefix from functions that return BorderValue by value. (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 77a3e506ed808ccb2e383dff2070fb6667c8ba65..214a69b785220990045c15027ae69fe4182c94a9 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -2910,19 +2910,19 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
void SetBorderImageSlicesFill(bool);
const BorderData& Border() const { return surround_data_->border_; }
- const BorderValue BorderLeft() const {
+ BorderValue BorderLeft() const {
return BorderValue(surround_data_->border_.Left(), BorderLeftColor(),
BorderLeftWidth());
}
- const BorderValue BorderRight() const {
+ BorderValue BorderRight() const {
return BorderValue(surround_data_->border_.Right(), BorderRightColor(),
BorderRightWidth());
}
- const BorderValue BorderTop() const {
+ BorderValue BorderTop() const {
return BorderValue(surround_data_->border_.Top(), BorderTopColor(),
BorderTopWidth());
}
- const BorderValue BorderBottom() const {
+ BorderValue BorderBottom() const {
return BorderValue(surround_data_->border_.Bottom(), BorderBottomColor(),
BorderBottomWidth());
}
@@ -2932,10 +2932,10 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
BorderWidthEquals(BorderRightWidth(), o.BorderRightWidth()) &&
BorderWidthEquals(BorderBottomWidth(), o.BorderBottomWidth());
}
- const BorderValue BorderBefore() const;
- const BorderValue BorderAfter() const;
- const BorderValue BorderStart() const;
- const BorderValue BorderEnd() const;
+ BorderValue BorderBefore() const;
+ BorderValue BorderAfter() const;
+ BorderValue BorderStart() const;
+ BorderValue BorderEnd() const;
float BorderAfterWidth() const;
float BorderBeforeWidth() const;
float BorderEndWidth() const;
« 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