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

Unified Diff: third_party/WebKit/Source/core/css/CSSPropertySourceData.h

Issue 1729013002: blink: Rename enums and functions to not collide with chromium style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: get-names-3: . Created 4 years, 10 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/css/CSSPropertySourceData.h
diff --git a/third_party/WebKit/Source/core/css/CSSPropertySourceData.h b/third_party/WebKit/Source/core/css/CSSPropertySourceData.h
index 3817beb57cab5a59406e8e872754f916417f8890..50440f8774f206765149be2a9165212db8f47921 100644
--- a/third_party/WebKit/Source/core/css/CSSPropertySourceData.h
+++ b/third_party/WebKit/Source/core/css/CSSPropertySourceData.h
@@ -133,12 +133,12 @@ using RuleSourceDataList = WillBeHeapVector<RefPtrWillBeMember<CSSRuleSourceData
using SelectorRangeList = WillBeHeapVector<SourceRange>;
struct CSSRuleSourceData : public RefCountedWillBeGarbageCollected<CSSRuleSourceData> {
- static PassRefPtrWillBeRawPtr<CSSRuleSourceData> create(StyleRule::Type type)
+ static PassRefPtrWillBeRawPtr<CSSRuleSourceData> create(StyleRule::RuleType type)
{
return adoptRefWillBeNoop(new CSSRuleSourceData(type));
}
- CSSRuleSourceData(StyleRule::Type type)
+ CSSRuleSourceData(StyleRule::RuleType type)
: type(type)
{
if (type == StyleRule::Style || type == StyleRule::FontFace || type == StyleRule::Page || type == StyleRule::Keyframe)
@@ -149,7 +149,7 @@ struct CSSRuleSourceData : public RefCountedWillBeGarbageCollected<CSSRuleSource
DECLARE_TRACE();
- StyleRule::Type type;
+ StyleRule::RuleType type;
// Range of the selector list in the enclosing source.
SourceRange ruleHeaderRange;
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSImageGeneratorValue.cpp ('k') | third_party/WebKit/Source/core/css/CSSValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698