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

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

Issue 1240223003: Oilpan: remove unnecessary ENABLE(OILPAN) protections of trace() calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « Source/modules/indexeddb/IDBDatabase.cpp ('k') | Source/modules/mediasource/MediaSource.cpp » ('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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 { 80 {
81 ASSERT(m_readyState == DONE || m_readyState == EarlyDeath || !executionConte xt()); 81 ASSERT(m_readyState == DONE || m_readyState == EarlyDeath || !executionConte xt());
82 } 82 }
83 83
84 DEFINE_TRACE(IDBRequest) 84 DEFINE_TRACE(IDBRequest)
85 { 85 {
86 visitor->trace(m_transaction); 86 visitor->trace(m_transaction);
87 visitor->trace(m_source); 87 visitor->trace(m_source);
88 visitor->trace(m_result); 88 visitor->trace(m_result);
89 visitor->trace(m_error); 89 visitor->trace(m_error);
90 #if ENABLE(OILPAN)
91 visitor->trace(m_enqueuedEvents); 90 visitor->trace(m_enqueuedEvents);
92 #endif
93 visitor->trace(m_pendingCursor); 91 visitor->trace(m_pendingCursor);
94 visitor->trace(m_cursorKey); 92 visitor->trace(m_cursorKey);
95 visitor->trace(m_cursorPrimaryKey); 93 visitor->trace(m_cursorPrimaryKey);
96 RefCountedGarbageCollectedEventTargetWithInlineData<IDBRequest>::trace(visit or); 94 RefCountedGarbageCollectedEventTargetWithInlineData<IDBRequest>::trace(visit or);
97 ActiveDOMObject::trace(visitor); 95 ActiveDOMObject::trace(visitor);
98 } 96 }
99 97
100 ScriptValue IDBRequest::result(ExceptionState& exceptionState) 98 ScriptValue IDBRequest::result(ExceptionState& exceptionState)
101 { 99 {
102 if (m_readyState != DONE) { 100 if (m_readyState != DONE) {
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 539
542 void IDBRequest::dequeueEvent(Event* event) 540 void IDBRequest::dequeueEvent(Event* event)
543 { 541 {
544 for (size_t i = 0; i < m_enqueuedEvents.size(); ++i) { 542 for (size_t i = 0; i < m_enqueuedEvents.size(); ++i) {
545 if (m_enqueuedEvents[i].get() == event) 543 if (m_enqueuedEvents[i].get() == event)
546 m_enqueuedEvents.remove(i); 544 m_enqueuedEvents.remove(i);
547 } 545 }
548 } 546 }
549 547
550 } // namespace blink 548 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/indexeddb/IDBDatabase.cpp ('k') | Source/modules/mediasource/MediaSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698