| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 DEFINE_TRACE(IDBTransaction) | 112 DEFINE_TRACE(IDBTransaction) |
| 113 { | 113 { |
| 114 visitor->trace(m_database); | 114 visitor->trace(m_database); |
| 115 visitor->trace(m_openDBRequest); | 115 visitor->trace(m_openDBRequest); |
| 116 visitor->trace(m_error); | 116 visitor->trace(m_error); |
| 117 visitor->trace(m_requestList); | 117 visitor->trace(m_requestList); |
| 118 visitor->trace(m_objectStoreMap); | 118 visitor->trace(m_objectStoreMap); |
| 119 visitor->trace(m_createdObjectStores); | 119 visitor->trace(m_createdObjectStores); |
| 120 visitor->trace(m_deletedObjectStores); | 120 visitor->trace(m_deletedObjectStores); |
| 121 visitor->trace(m_objectStoreCleanupMap); | 121 visitor->trace(m_objectStoreCleanupMap); |
| 122 RefCountedGarbageCollectedEventTargetWithInlineData<IDBTransaction>::trace(v
isitor); | 122 EventTargetWithInlineData::trace(visitor); |
| 123 ActiveDOMObject::trace(visitor); | 123 ActiveDOMObject::trace(visitor); |
| 124 } | 124 } |
| 125 | 125 |
| 126 void IDBTransaction::setError(DOMException* error) | 126 void IDBTransaction::setError(DOMException* error) |
| 127 { | 127 { |
| 128 ASSERT(m_state != Finished); | 128 ASSERT(m_state != Finished); |
| 129 ASSERT(error); | 129 ASSERT(error); |
| 130 | 130 |
| 131 // The first error to be set is the true cause of the | 131 // The first error to be set is the true cause of the |
| 132 // transaction abort. | 132 // transaction abort. |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 event->setTarget(this); | 421 event->setTarget(this); |
| 422 eventQueue->enqueueEvent(event); | 422 eventQueue->enqueueEvent(event); |
| 423 } | 423 } |
| 424 | 424 |
| 425 WebIDBDatabase* IDBTransaction::backendDB() const | 425 WebIDBDatabase* IDBTransaction::backendDB() const |
| 426 { | 426 { |
| 427 return m_database->backend(); | 427 return m_database->backend(); |
| 428 } | 428 } |
| 429 | 429 |
| 430 } // namespace blink | 430 } // namespace blink |
| OLD | NEW |