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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.h

Issue 2063773002: Reland: WTF: Implement explicit RefPtr::operator bool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
Index: third_party/WebKit/Source/core/style/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index 5fcda23f6e5c1630ac1fab03817ed21f1bdbe3d9..c058e29af5d0487ca3aa94a51064dd23e143722f 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -908,7 +908,7 @@ public:
bool transformDataEquivalent(const ComputedStyle& otherStyle) const { return rareNonInheritedData->m_transform == otherStyle.rareNonInheritedData->m_transform; }
StylePath* motionPath() const { return rareNonInheritedData->m_transform->m_motion.m_path.get(); }
- bool hasMotionPath() const { return rareNonInheritedData->m_transform->m_motion.m_path; }
+ bool hasMotionPath() const { return motionPath(); }
const Length& motionOffset() const { return rareNonInheritedData->m_transform->m_motion.m_offset; }
const StyleMotionRotation& motionRotation() const { return rareNonInheritedData->m_transform->m_motion.m_rotation; }

Powered by Google App Engine
This is Rietveld 408576698