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

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

Issue 307433003: Oilpan: Allocate all EventTarget derived types on the manged heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/modules/indexeddb/IDBTransaction.h ('k') | Source/modules/mediasource/MediaSourceBase.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « Source/modules/indexeddb/IDBTransaction.h ('k') | Source/modules/mediasource/MediaSourceBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698