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

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

Issue 2667543002: Moved nonproperty 'unique' to be generated in ComputedStyleBase. (Closed)
Patch Set: Rebase onto master Created 3 years, 11 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.cpp
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
index deca619c92323d67c5a079fac53e1d3860d8f849..61aa1d6d27aef52c3e00445ee181f5cc574ee24f 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
@@ -387,7 +387,7 @@ void ComputedStyle::copyNonInheritedFromCached(const ComputedStyle& other) {
// m_nonInheritedData.m_explicitInheritance
// unique() styles are not cacheable.
- DCHECK(!other.m_nonInheritedData.m_unique);
+ DCHECK(!other.unique());
// styles with non inherited properties that reference variables are not
// cacheable.

Powered by Google App Engine
This is Rietveld 408576698