Index: Source/modules/indexeddb/IDBObjectStore.h |
diff --git a/Source/modules/indexeddb/IDBObjectStore.h b/Source/modules/indexeddb/IDBObjectStore.h |
index f010c9ca02f474a4ddd0609af83fdd55ceb3147c..a4e8d3eec4f5b0bd5a7f26a277170ab9516c65d8 100644 |
--- a/Source/modules/indexeddb/IDBObjectStore.h |
+++ b/Source/modules/indexeddb/IDBObjectStore.h |
@@ -57,9 +57,9 @@ public: |
// Implement the IDBObjectStore IDL |
int64_t id() const { return m_metadata.id; } |
- const String name() const { return m_metadata.name; } |
+ const String& name() const { return m_metadata.name; } |
PassRefPtr<IDBAny> keyPathAny() const { return IDBAny::create(m_metadata.keyPath); } |
- const IDBKeyPath keyPath() const { return m_metadata.keyPath; } |
+ const IDBKeyPath& keyPath() const { return m_metadata.keyPath; } |
PassRefPtr<DOMStringList> indexNames() const; |
PassRefPtr<IDBTransaction> transaction() const { return m_transaction; } |
bool autoIncrement() const { return m_metadata.autoIncrement; } |