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

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

Issue 1164573002: CSSValue Immediates: Change CSSValue to an object instead of a pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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/CSSSVGDocumentValue.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 85847a1e64dae11f66baec7122606d3058122c64..8850e9e002b9d27958cbb9bada6d5fd75ef305fb 100644
--- a/Source/core/css/CSSReflectValue.cpp
+++ b/Source/core/css/CSSReflectValue.cpp
@@ -41,7 +41,7 @@ bool CSSReflectValue::equals(const CSSReflectValue& other) const
{
return m_direction == other.m_direction
&& compareCSSValuePtr(m_offset, other.m_offset)
- && compareCSSValuePtr(m_mask, other.m_mask);
+ && m_mask == other.m_mask;
}
DEFINE_TRACE_AFTER_DISPATCH(CSSReflectValue)
@@ -49,7 +49,7 @@ DEFINE_TRACE_AFTER_DISPATCH(CSSReflectValue)
visitor->trace(m_direction);
visitor->trace(m_offset);
visitor->trace(m_mask);
- CSSValue::traceAfterDispatch(visitor);
+ CSSValueObject::traceAfterDispatch(visitor);
}
} // namespace blink
« no previous file with comments | « Source/core/css/CSSReflectValue.h ('k') | Source/core/css/CSSSVGDocumentValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698