Index: Source/web/WebIDBKeyPath.cpp |
diff --git a/Source/web/WebIDBKeyPath.cpp b/Source/web/WebIDBKeyPath.cpp |
index 7263c68b05314bbc15ab1d11c2ebe016be3b57bf..ba982e188c6eff38a446be8d9511241031210ac2 100644 |
--- a/Source/web/WebIDBKeyPath.cpp |
+++ b/Source/web/WebIDBKeyPath.cpp |
@@ -70,12 +70,17 @@ bool WebIDBKeyPath::isValid() const |
return m_private->isValid(); |
} |
-WebIDBKeyPath::Type WebIDBKeyPath::type() const |
+WebIDBKeyPathType WebIDBKeyPath::keyPathType() const |
{ |
ASSERT(m_private.get()); |
- return Type(m_private->type()); |
+ return static_cast<WebIDBKeyPathType>(m_private->type()); |
} |
+WebIDBKeyPath::Type WebIDBKeyPath::type() const |
+{ |
+ ASSERT(m_private.get()); |
+ return static_cast<WebIDBKeyPath::Type>(m_private->type()); |
+} |
WebVector<WebString> WebIDBKeyPath::array() const |
{ |