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

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

Issue 2666703002: Correct confusing error message from OfflineAudioContext.suspend() (Closed)
Patch Set: Refined error message Created 3 years, 11 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/OfflineAudioContext.h
diff --git a/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.h b/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.h
index aaf705a199bae02f594157960f4ac88ad9153f67..3499829c0a5f7910d667041ba17774d51c9953fa 100644
--- a/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.h
+++ b/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.h
@@ -49,7 +49,7 @@ class MODULES_EXPORT OfflineAudioContext final : public BaseAudioContext {
DECLARE_VIRTUAL_TRACE();
- unsigned length() const { return m_totalRenderFrames; }
+ size_t length() const { return m_totalRenderFrames; }
ScriptPromise startOfflineRendering(ScriptState*);

Powered by Google App Engine
This is Rietveld 408576698