| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 ASSERT(m_type == IDBValueArrayType); | 115 ASSERT(m_type == IDBValueArrayType); |
| 116 return &m_idbValues; | 116 return &m_idbValues; |
| 117 } | 117 } |
| 118 | 118 |
| 119 int64_t IDBAny::integer() const | 119 int64_t IDBAny::integer() const |
| 120 { | 120 { |
| 121 ASSERT(m_type == IntegerType); | 121 ASSERT(m_type == IntegerType); |
| 122 return m_integer; | 122 return m_integer; |
| 123 } | 123 } |
| 124 | 124 |
| 125 IDBAny::IDBAny(PassRefPtrWillBeRawPtr<DOMStringList> value) | 125 IDBAny::IDBAny(RawPtr<DOMStringList> value) |
| 126 : m_type(DOMStringListType) | 126 : m_type(DOMStringListType) |
| 127 , m_domStringList(value) | 127 , m_domStringList(value) |
| 128 { | 128 { |
| 129 } | 129 } |
| 130 | 130 |
| 131 IDBAny::IDBAny(IDBCursor* value) | 131 IDBAny::IDBAny(IDBCursor* value) |
| 132 : m_type(value->isCursorWithValue() ? IDBCursorWithValueType : IDBCursorType
) | 132 : m_type(value->isCursorWithValue() ? IDBCursorWithValueType : IDBCursorType
) |
| 133 , m_idbCursor(value) | 133 , m_idbCursor(value) |
| 134 { | 134 { |
| 135 } | 135 } |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 { | 180 { |
| 181 visitor->trace(m_domStringList); | 181 visitor->trace(m_domStringList); |
| 182 visitor->trace(m_idbCursor); | 182 visitor->trace(m_idbCursor); |
| 183 visitor->trace(m_idbDatabase); | 183 visitor->trace(m_idbDatabase); |
| 184 visitor->trace(m_idbIndex); | 184 visitor->trace(m_idbIndex); |
| 185 visitor->trace(m_idbObjectStore); | 185 visitor->trace(m_idbObjectStore); |
| 186 visitor->trace(m_idbKey); | 186 visitor->trace(m_idbKey); |
| 187 } | 187 } |
| 188 | 188 |
| 189 } // namespace blink | 189 } // namespace blink |
| OLD | NEW |