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

Unified Diff: Source/core/css/resolver/MatchedPropertiesCache.h

Issue 1282243002: Prepare for multiple !important author ranges. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Missing STACK_ALLOCATED() 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 | « Source/core/css/resolver/MatchResultTest.cpp ('k') | Source/core/css/resolver/MatchedPropertiesCache.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/MatchedPropertiesCache.h
diff --git a/Source/core/css/resolver/MatchedPropertiesCache.h b/Source/core/css/resolver/MatchedPropertiesCache.h
index 6c1a7fb7c55430f96660382436872ce79417dd3c..5619a84bc1c1f72707977a8fb00540c4444c00b8 100644
--- a/Source/core/css/resolver/MatchedPropertiesCache.h
+++ b/Source/core/css/resolver/MatchedPropertiesCache.h
@@ -43,7 +43,7 @@ public:
RefPtr<ComputedStyle> computedStyle;
RefPtr<ComputedStyle> parentComputedStyle;
- void set(const ComputedStyle&, const ComputedStyle& parentStyle, const MatchResult&);
+ void set(const ComputedStyle&, const ComputedStyle& parentStyle, const MatchedPropertiesVector&);
void clear();
DEFINE_INLINE_TRACE()
{
@@ -95,8 +95,8 @@ class MatchedPropertiesCache {
public:
MatchedPropertiesCache();
- const CachedMatchedProperties* find(unsigned hash, const StyleResolverState&, const MatchResult&);
- void add(const ComputedStyle&, const ComputedStyle& parentStyle, unsigned hash, const MatchResult&);
+ const CachedMatchedProperties* find(unsigned hash, const StyleResolverState&, const MatchedPropertiesVector&);
+ void add(const ComputedStyle&, const ComputedStyle& parentStyle, unsigned hash, const MatchedPropertiesVector&);
void clear();
void clearViewportDependent();
« no previous file with comments | « Source/core/css/resolver/MatchResultTest.cpp ('k') | Source/core/css/resolver/MatchedPropertiesCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698