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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 | 111 |
112 void IDBTransaction::trace(Visitor* visitor) | 112 void IDBTransaction::trace(Visitor* visitor) |
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_deletedObjectStores); | 119 visitor->trace(m_deletedObjectStores); |
120 visitor->trace(m_objectStoreCleanupMap); | 120 visitor->trace(m_objectStoreCleanupMap); |
| 121 EventTargetWithInlineData::trace(visitor); |
121 } | 122 } |
122 | 123 |
123 const String& IDBTransaction::mode() const | 124 const String& IDBTransaction::mode() const |
124 { | 125 { |
125 return modeToString(m_mode); | 126 return modeToString(m_mode); |
126 } | 127 } |
127 | 128 |
128 void IDBTransaction::setError(PassRefPtrWillBeRawPtr<DOMError> error) | 129 void IDBTransaction::setError(PassRefPtrWillBeRawPtr<DOMError> error) |
129 { | 130 { |
130 ASSERT(m_state != Finished); | 131 ASSERT(m_state != Finished); |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 event->setTarget(this); | 411 event->setTarget(this); |
411 eventQueue->enqueueEvent(event); | 412 eventQueue->enqueueEvent(event); |
412 } | 413 } |
413 | 414 |
414 blink::WebIDBDatabase* IDBTransaction::backendDB() const | 415 blink::WebIDBDatabase* IDBTransaction::backendDB() const |
415 { | 416 { |
416 return m_database->backend(); | 417 return m_database->backend(); |
417 } | 418 } |
418 | 419 |
419 } // namespace WebCore | 420 } // namespace WebCore |
OLD | NEW |