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

Unified Diff: Source/core/css/CSSReflectValue.cpp

Issue 1225553002: CSSValue Immediates: Make CSSPrimitiveValue a container (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@cssvalue_patch_1
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/CSSReflectValue.h ('k') | Source/core/css/CSSShadowValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSReflectValue.cpp
diff --git a/Source/core/css/CSSReflectValue.cpp b/Source/core/css/CSSReflectValue.cpp
index 8850e9e002b9d27958cbb9bada6d5fd75ef305fb..4391c473206f1f2a33d1b2bce6755f609661fe54 100644
--- a/Source/core/css/CSSReflectValue.cpp
+++ b/Source/core/css/CSSReflectValue.cpp
@@ -33,14 +33,14 @@ namespace blink {
String CSSReflectValue::customCSSText() const
{
if (m_mask)
- return m_direction->cssText() + ' ' + m_offset->cssText() + ' ' + m_mask->cssText();
- return m_direction->cssText() + ' ' + m_offset->cssText();
+ return m_direction.cssText() + ' ' + m_offset.cssText() + ' ' + m_mask->cssText();
+ return m_direction.cssText() + ' ' + m_offset.cssText();
}
bool CSSReflectValue::equals(const CSSReflectValue& other) const
{
- return m_direction == other.m_direction
- && compareCSSValuePtr(m_offset, other.m_offset)
+ return m_direction.ptrEquals(other.m_direction)
+ && m_offset.ptrEquals(other.m_offset)
&& m_mask == other.m_mask;
}
« no previous file with comments | « Source/core/css/CSSReflectValue.h ('k') | Source/core/css/CSSShadowValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698