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

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

Issue 1311783009: Fix bug in CSSCursorImageValue::equals() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Localized cursor URL to fix httpd errors Created 5 years, 4 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 | « LayoutTests/fast/css/bug523527-cursor-doesnt-update-with-same-hotspot.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSCursorImageValue.cpp
diff --git a/Source/core/css/CSSCursorImageValue.cpp b/Source/core/css/CSSCursorImageValue.cpp
index 390c4378a6a181cde2960b35615650997de8af10..16e38f9d7c5ac93ce1c72c96f85b4ebf6ed26063 100644
--- a/Source/core/css/CSSCursorImageValue.cpp
+++ b/Source/core/css/CSSCursorImageValue.cpp
@@ -196,7 +196,7 @@ void CSSCursorImageValue::removeReferencedElement(SVGElement* element)
bool CSSCursorImageValue::equals(const CSSCursorImageValue& other) const
{
- return m_hotSpotSpecified ? other.m_hotSpotSpecified && m_hotSpot == other.m_hotSpot : !other.m_hotSpotSpecified
+ return (m_hotSpotSpecified ? other.m_hotSpotSpecified && m_hotSpot == other.m_hotSpot : !other.m_hotSpotSpecified)
&& compareCSSValuePtr(m_imageValue, other.m_imageValue);
}
« no previous file with comments | « LayoutTests/fast/css/bug523527-cursor-doesnt-update-with-same-hotspot.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698