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

Unified Diff: Source/core/css/CSSBorderImageSliceValue.h

Issue 1233363002: CSSValue Immediates: Replace CSSPrimitiveValue usage with const references (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@cssvalue_patch_4_attempt_2
Patch Set: Rebase Created 5 years, 5 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 | « Source/core/css/CSSBorderImage.cpp ('k') | Source/core/css/CSSBorderImageSliceValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSBorderImageSliceValue.h
diff --git a/Source/core/css/CSSBorderImageSliceValue.h b/Source/core/css/CSSBorderImageSliceValue.h
index 6fd9856fedf668d49f4a2c4f0cbc760a897cc1e0..f4ecad8a974b97a27946ebddfbac5a6c7bf587c4 100644
--- a/Source/core/css/CSSBorderImageSliceValue.h
+++ b/Source/core/css/CSSBorderImageSliceValue.h
@@ -34,7 +34,7 @@ namespace blink {
class CSSBorderImageSliceValue : public CSSValueObject {
public:
- static PassRefPtrWillBeRawPtr<CSSBorderImageSliceValue> create(CSSPrimitiveValue slices, bool fill)
+ static PassRefPtrWillBeRawPtr<CSSBorderImageSliceValue> create(const CSSPrimitiveValue& slices, bool fill)
{
return adoptRefWillBeNoop(new CSSBorderImageSliceValue(slices, fill));
}
@@ -53,7 +53,7 @@ public:
bool m_fill;
private:
- CSSBorderImageSliceValue(CSSPrimitiveValue slices, bool fill);
+ CSSBorderImageSliceValue(const CSSPrimitiveValue& slices, bool fill);
};
DEFINE_CSS_VALUE_TYPE_CASTS(CSSBorderImageSliceValue, isBorderImageSliceValue());
« no previous file with comments | « Source/core/css/CSSBorderImage.cpp ('k') | Source/core/css/CSSBorderImageSliceValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698