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

Unified Diff: Source/modules/webaudio/WaveShaperNode.h

Issue 438293003: Enable Oilpan by default for webaudio/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: Source/modules/webaudio/WaveShaperNode.h
diff --git a/Source/modules/webaudio/WaveShaperNode.h b/Source/modules/webaudio/WaveShaperNode.h
index ff33116ce3cfbcb3b31477755115d79b2a49bf4e..a9f9fe5363ddbe89388dc4d51e3050466ba700c6 100644
--- a/Source/modules/webaudio/WaveShaperNode.h
+++ b/Source/modules/webaudio/WaveShaperNode.h
@@ -36,9 +36,9 @@ class ExceptionState;
class WaveShaperNode FINAL : public AudioBasicProcessorNode {
public:
- static PassRefPtrWillBeRawPtr<WaveShaperNode> create(AudioContext* context)
+ static WaveShaperNode* create(AudioContext* context)
{
- return adoptRefWillBeNoop(new WaveShaperNode(context));
+ return adoptRefCountedGarbageCollectedWillBeNoop(new WaveShaperNode(context));
}
// setCurve() is called on the main thread.

Powered by Google App Engine
This is Rietveld 408576698