Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Side by Side Diff: third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp

Issue 1857143002: Oilpan: Remove RefCountedGarbageCollectedEventTargetWithInlineData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698