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

Unified Diff: Source/web/WebIDBKeyPath.cpp

Issue 19316002: Separate WebIDBKey type into separate header (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: also do WebIDBKeyPath types Created 7 years, 5 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
« no previous file with comments | « Source/web/WebIDBKey.cpp ('k') | public/platform/WebIDBKey.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
{
« no previous file with comments | « Source/web/WebIDBKey.cpp ('k') | public/platform/WebIDBKey.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698