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

Unified Diff: third_party/WebKit/Source/core/css/CSSValue.cpp

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/CSSValue.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSValue.cpp b/third_party/WebKit/Source/core/css/CSSValue.cpp
index 7a300481dfd2c3587c04a91a2b2da05c8964d00f..4f3dd601fcecb119aa34a16e9fae5fbb6bb21952 100644
--- a/third_party/WebKit/Source/core/css/CSSValue.cpp
+++ b/third_party/WebKit/Source/core/css/CSSValue.cpp
@@ -77,13 +77,13 @@ bool CSSValue::hasFailedOrCanceledSubresources() const
{
if (isValueList())
return toCSSValueList(this)->hasFailedOrCanceledSubresources();
- if (classType() == FontFaceSrcClass)
+ if (getClassType() == FontFaceSrcClass)
return toCSSFontFaceSrcValue(this)->hasFailedOrCanceledSubresources();
- if (classType() == ImageClass)
+ if (getClassType() == ImageClass)
return toCSSImageValue(this)->hasFailedOrCanceledSubresources();
- if (classType() == CrossfadeClass)
+ if (getClassType() == CrossfadeClass)
return toCSSCrossfadeValue(this)->hasFailedOrCanceledSubresources();
- if (classType() == ImageSetClass)
+ if (getClassType() == ImageSetClass)
return toCSSImageSetValue(this)->hasFailedOrCanceledSubresources();
return false;
@@ -98,7 +98,7 @@ inline static bool compareCSSValues(const CSSValue& first, const CSSValue& secon
bool CSSValue::equals(const CSSValue& other) const
{
if (m_classType == other.m_classType) {
- switch (classType()) {
+ switch (getClassType()) {
case BasicShapeCircleClass:
return compareCSSValues<CSSBasicShapeCircleValue>(*this, other);
case BasicShapeEllipseClass:
@@ -184,7 +184,7 @@ bool CSSValue::equals(const CSSValue& other) const
String CSSValue::cssText() const
{
- switch (classType()) {
+ switch (getClassType()) {
case BasicShapeCircleClass:
return toCSSBasicShapeCircleValue(this)->customCSSText();
case BasicShapeEllipseClass:
@@ -268,7 +268,7 @@ String CSSValue::cssText() const
void CSSValue::destroy()
{
- switch (classType()) {
+ switch (getClassType()) {
case BasicShapeCircleClass:
delete toCSSBasicShapeCircleValue(this);
return;
@@ -389,7 +389,7 @@ void CSSValue::destroy()
void CSSValue::finalizeGarbageCollectedObject()
{
- switch (classType()) {
+ switch (getClassType()) {
case BasicShapeCircleClass:
toCSSBasicShapeCircleValue(this)->~CSSBasicShapeCircleValue();
return;
@@ -510,7 +510,7 @@ void CSSValue::finalizeGarbageCollectedObject()
DEFINE_TRACE(CSSValue)
{
- switch (classType()) {
+ switch (getClassType()) {
case BasicShapeCircleClass:
toCSSBasicShapeCircleValue(this)->traceAfterDispatch(visitor);
return;
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSValue.h ('k') | third_party/WebKit/Source/core/css/ElementRuleCollector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698