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

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

Issue 1238943004: CSSValue Immediates: Replace CSSValue usage with const references (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@cssvalue_patch_1
Patch Set: Rebase Created 5 years, 5 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: Source/core/css/resolver/StyleBuilder.h
diff --git a/Source/core/css/resolver/StyleBuilder.h b/Source/core/css/resolver/StyleBuilder.h
index 28e64069abb7096f1f0865c9943ef9f6d020b294..eed82fee18bafa10ec52ccf57949b75e56e83f9f 100644
--- a/Source/core/css/resolver/StyleBuilder.h
+++ b/Source/core/css/resolver/StyleBuilder.h
@@ -43,10 +43,10 @@ class StyleResolverState;
class CORE_EXPORT StyleBuilder {
STATIC_ONLY(StyleBuilder);
public:
- static void applyProperty(CSSPropertyID, StyleResolverState&, CSSValue);
+ static void applyProperty(CSSPropertyID, StyleResolverState&, const CSSValue&);
private:
- static void applyProperty(CSSPropertyID, StyleResolverState&, CSSValue, bool isInitial, bool isInherit);
+ static void applyProperty(CSSPropertyID, StyleResolverState&, const CSSValue&, bool isInitial, bool isInherit);
};
}
« no previous file with comments | « Source/core/css/resolver/FilterOperationResolver.cpp ('k') | Source/core/css/resolver/StyleBuilderConverter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698