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

Side by Side Diff: third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.cpp

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. 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 11 matching lines...) Expand all
22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
23 * DAMAGE. 23 * DAMAGE.
24 */ 24 */
25 25
26 #include "modules/webaudio/AudioDestinationNode.h" 26 #include "modules/webaudio/AudioDestinationNode.h"
27 #include "modules/webaudio/AudioNodeInput.h" 27 #include "modules/webaudio/AudioNodeInput.h"
28 #include "modules/webaudio/AudioNodeOutput.h" 28 #include "modules/webaudio/AudioNodeOutput.h"
29 #include "modules/webaudio/BaseAudioContext.h" 29 #include "modules/webaudio/BaseAudioContext.h"
30 #include "platform/audio/AudioUtilities.h" 30 #include "platform/audio/AudioUtilities.h"
31 #include "platform/audio/DenormalDisabler.h" 31 #include "platform/audio/DenormalDisabler.h"
32 #include "wtf/Atomics.h" 32 #include "platform/wtf/Atomics.h"
33 33
34 namespace blink { 34 namespace blink {
35 35
36 AudioDestinationHandler::AudioDestinationHandler(AudioNode& node) 36 AudioDestinationHandler::AudioDestinationHandler(AudioNode& node)
37 : AudioHandler(kNodeTypeDestination, node, 0), current_sample_frame_(0) { 37 : AudioHandler(kNodeTypeDestination, node, 0), current_sample_frame_(0) {
38 AddInput(); 38 AddInput();
39 } 39 }
40 40
41 AudioDestinationHandler::~AudioDestinationHandler() { 41 AudioDestinationHandler::~AudioDestinationHandler() {
42 DCHECK(!IsInitialized()); 42 DCHECK(!IsInitialized());
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 AudioDestinationHandler& AudioDestinationNode::GetAudioDestinationHandler() 117 AudioDestinationHandler& AudioDestinationNode::GetAudioDestinationHandler()
118 const { 118 const {
119 return static_cast<AudioDestinationHandler&>(Handler()); 119 return static_cast<AudioDestinationHandler&>(Handler());
120 } 120 }
121 121
122 unsigned long AudioDestinationNode::maxChannelCount() const { 122 unsigned long AudioDestinationNode::maxChannelCount() const {
123 return GetAudioDestinationHandler().MaxChannelCount(); 123 return GetAudioDestinationHandler().MaxChannelCount();
124 } 124 }
125 125
126 } // namespace blink 126 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698