| Index: third_party/WebKit/public/web/WebFrameClient.h
|
| diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h
|
| index 5fd21c9dc1ceb855c01633ff06731e3ecf9f89b1..60492489c76a8db081298e3c9883d7cdd52bce7e 100644
|
| --- a/third_party/WebKit/public/web/WebFrameClient.h
|
| +++ b/third_party/WebKit/public/web/WebFrameClient.h
|
| @@ -721,7 +721,13 @@ public:
|
|
|
| // Checks that the given audio sink exists and is authorized. The result is provided via the callbacks.
|
| // This method takes ownership of the callbacks pointer.
|
| - virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED(); }
|
| + virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks* callbacks)
|
| + {
|
| + if (callbacks) {
|
| + callbacks->onError(WebSetSinkIdError::NotSupported);
|
| + delete callbacks;
|
| + }
|
| + }
|
|
|
| protected:
|
| virtual ~WebFrameClient() { }
|
|
|