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

Unified Diff: Source/core/css/CSSProperty.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/CSSProperty.h ('k') | Source/core/css/CSSReflectValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSProperty.cpp
diff --git a/Source/core/css/CSSProperty.cpp b/Source/core/css/CSSProperty.cpp
index bed5ff87ceff9310c414a3b1db30b3c727964036..1e4a126579d758f62af453a55d97ac1251c6d55a 100644
--- a/Source/core/css/CSSProperty.cpp
+++ b/Source/core/css/CSSProperty.cpp
@@ -267,7 +267,7 @@ bool CSSProperty::isAffectedByAllProperty(CSSPropertyID propertyID)
bool CSSProperty::operator==(const CSSProperty& other) const
{
- return m_value->equals(*other.m_value) && isImportant() == other.isImportant();
+ return m_value.equals(other.m_value) && isImportant() == other.isImportant();
}
} // namespace blink
« no previous file with comments | « Source/core/css/CSSProperty.h ('k') | Source/core/css/CSSReflectValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698