Index: third_party/WebKit/Source/core/css/CSSURIValue.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSURIValue.cpp b/third_party/WebKit/Source/core/css/CSSURIValue.cpp |
index 27e32e6e2a09739e4096fc9c6f48d62b20fa95e1..e0cb3a57895a3d0f16a653132f5560a5fdb6582d 100644 |
--- a/third_party/WebKit/Source/core/css/CSSURIValue.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSURIValue.cpp |
@@ -70,8 +70,9 @@ bool CSSURIValue::Equals(const CSSURIValue& other) const { |
// If only one has the 'local url' flag set, the URLs can't match. |
if (is_local_ != other.is_local_) |
return false; |
- return (is_local_ && relative_url_ == other.relative_url_) || |
- absolute_url_ == other.absolute_url_; |
+ if (is_local_) |
+ return relative_url_ == other.relative_url_; |
+ return absolute_url_ == other.absolute_url_; |
} |
DEFINE_TRACE_AFTER_DISPATCH(CSSURIValue) { |