summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h')
-rw-r--r--third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
index 1756042..fc44e8e 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
@@ -248,7 +248,7 @@ public:
virtual void replay(GraphicsContext&) const { }
const DisplayItemClient& client() const { ASSERT(m_client); return *m_client; }
- Type type() const { return m_type; }
+ Type getType() const { return m_type; }
void setScope(unsigned scope) { m_scope = scope; }
unsigned scope() { return m_scope; }
@@ -268,7 +268,7 @@ public:
// See comments of enum Type for usage of the following macros.
#define DEFINE_CATEGORY_METHODS(Category) \
static bool is##Category##Type(Type type) { return type >= Category##First && type <= Category##Last; } \
- bool is##Category() const { return is##Category##Type(type()); }
+ bool is##Category() const { return is##Category##Type(getType()); }
#define DEFINE_CONVERSION_METHODS(Category1, category1, Category2, category2) \
static Type category1##TypeTo##Category2##Type(Type type) \