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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 | 107 |
108 void IDBTransaction::trace(Visitor* visitor) | 108 void IDBTransaction::trace(Visitor* visitor) |
109 { | 109 { |
110 visitor->trace(m_database); | 110 visitor->trace(m_database); |
111 visitor->trace(m_openDBRequest); | 111 visitor->trace(m_openDBRequest); |
112 visitor->trace(m_error); | 112 visitor->trace(m_error); |
113 visitor->trace(m_requestList); | 113 visitor->trace(m_requestList); |
114 visitor->trace(m_objectStoreMap); | 114 visitor->trace(m_objectStoreMap); |
115 visitor->trace(m_deletedObjectStores); | 115 visitor->trace(m_deletedObjectStores); |
116 visitor->trace(m_objectStoreCleanupMap); | 116 visitor->trace(m_objectStoreCleanupMap); |
| 117 EventTargetWithInlineData::trace(visitor); |
117 } | 118 } |
118 | 119 |
119 const String& IDBTransaction::mode() const | 120 const String& IDBTransaction::mode() const |
120 { | 121 { |
121 return modeToString(m_mode); | 122 return modeToString(m_mode); |
122 } | 123 } |
123 | 124 |
124 void IDBTransaction::setError(PassRefPtrWillBeRawPtr<DOMError> error) | 125 void IDBTransaction::setError(PassRefPtrWillBeRawPtr<DOMError> error) |
125 { | 126 { |
126 ASSERT(m_state != Finished); | 127 ASSERT(m_state != Finished); |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 event->setTarget(this); | 399 event->setTarget(this); |
399 eventQueue->enqueueEvent(event); | 400 eventQueue->enqueueEvent(event); |
400 } | 401 } |
401 | 402 |
402 blink::WebIDBDatabase* IDBTransaction::backendDB() const | 403 blink::WebIDBDatabase* IDBTransaction::backendDB() const |
403 { | 404 { |
404 return m_database->backend(); | 405 return m_database->backend(); |
405 } | 406 } |
406 | 407 |
407 } // namespace WebCore | 408 } // namespace WebCore |
OLD | NEW |