| Index: third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h b/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h
|
| index 585dec1f71edfef74b2d750455901d5eb155803e..dffa88dddc7780eb21bedc1c39b6de39955a1155 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h
|
| +++ b/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h
|
| @@ -262,10 +262,12 @@ public:
|
| // if necessary.
|
| PeriodicWave* periodicWave(int type);
|
|
|
| - // Check whether the AudioContext requires a user gesture and whether the
|
| - // current stack is processing user gesture and record these information in
|
| - // a histogram.
|
| - void recordUserGestureState();
|
| + // Called by AudioContext nodes to start the AudioContext when it is
|
| + // suspended because of gesture requirement.
|
| + // It will be a no-op if:
|
| + // - no user gesture is required, or
|
| + // - a user gesture is required but none was provided.
|
| + void startRenderingIfNeeded();
|
|
|
| protected:
|
| explicit BaseAudioContext(Document*);
|
|
|