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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLToken.h

Issue 1740483004: Rename enums/functions that collide in chromium style in core/html/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-5
Patch Set: get-names-6: . 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/html/parser/HTMLToken.h
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLToken.h b/third_party/WebKit/Source/core/html/parser/HTMLToken.h
index 5e52db89b309ce6ad035f678afa5735e6125f14b..320f0cb7beb9cb6f1373959f3491b9200536c8fe 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLToken.h
+++ b/third_party/WebKit/Source/core/html/parser/HTMLToken.h
@@ -65,7 +65,7 @@ class HTMLToken {
WTF_MAKE_NONCOPYABLE(HTMLToken);
USING_FAST_MALLOC(HTMLToken);
public:
- enum Type {
+ enum TokenType {
Uninitialized,
DOCTYPE,
StartTag,
@@ -135,7 +135,7 @@ public:
}
bool isUninitialized() { return m_type == Uninitialized; }
- Type type() const { return m_type; }
+ TokenType type() const { return m_type; }
void makeEndOfFile()
{
@@ -459,7 +459,7 @@ public:
}
private:
- Type m_type;
+ TokenType m_type;
Attribute::Range m_range; // Always starts at zero.
int m_baseOffset;
DataVector m_data;

Powered by Google App Engine
This is Rietveld 408576698