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

Unified Diff: third_party/WebKit/Source/modules/webaudio/WaveShaperProcessor.h

Issue 2019963002: Remove get from CrossThreadPersistent to avoid accidental use Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: third_party/WebKit/Source/modules/webaudio/WaveShaperProcessor.h
diff --git a/third_party/WebKit/Source/modules/webaudio/WaveShaperProcessor.h b/third_party/WebKit/Source/modules/webaudio/WaveShaperProcessor.h
index 3a54e9b8e997dc973832fe6b899572b5c25f1b3b..0f986b8c506823ca3c4e85e33e239047f0dbc4c3 100644
--- a/third_party/WebKit/Source/modules/webaudio/WaveShaperProcessor.h
+++ b/third_party/WebKit/Source/modules/webaudio/WaveShaperProcessor.h
@@ -53,7 +53,7 @@ public:
void process(const AudioBus* source, AudioBus* destination, size_t framesToProcess) override;
void setCurve(DOMFloat32Array*);
- DOMFloat32Array* curve() { return m_curve.get(); }
+ CrossThreadPersistent<DOMFloat32Array>& curve() { return m_curve; }
void setOversample(OverSampleType);
OverSampleType oversample() const { return m_oversample; }

Powered by Google App Engine
This is Rietveld 408576698