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

Side by Side Diff: Source/modules/speech/SpeechRecognition.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 * * Redistributions of source code must retain the above copyright 7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright 9 * * Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 void SpeechRecognition::contextDestroyed() 198 void SpeechRecognition::contextDestroyed()
199 { 199 {
200 m_controller = nullptr; 200 m_controller = nullptr;
201 PageLifecycleObserver::contextDestroyed(); 201 PageLifecycleObserver::contextDestroyed();
202 } 202 }
203 203
204 DEFINE_TRACE(SpeechRecognition) 204 DEFINE_TRACE(SpeechRecognition)
205 { 205 {
206 visitor->trace(m_grammars); 206 visitor->trace(m_grammars);
207 visitor->trace(m_audioTrack); 207 visitor->trace(m_audioTrack);
208 #if ENABLE(OILPAN)
209 visitor->trace(m_controller); 208 visitor->trace(m_controller);
210 #endif
211 visitor->trace(m_finalResults); 209 visitor->trace(m_finalResults);
212 RefCountedGarbageCollectedEventTargetWithInlineData<SpeechRecognition>::trac e(visitor); 210 RefCountedGarbageCollectedEventTargetWithInlineData<SpeechRecognition>::trac e(visitor);
213 PageLifecycleObserver::trace(visitor); 211 PageLifecycleObserver::trace(visitor);
214 ActiveDOMObject::trace(visitor); 212 ActiveDOMObject::trace(visitor);
215 } 213 }
216 214
217 } // namespace blink 215 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698