Commit 8c5be5dd authored by raymes's avatar raymes Committed by Commit bot

Add a virtual destructor to PermissionPromptDelegate

This is needed so that subclass destructors will be called when
destroying a PermissionPromptDelegate pointer. This currently has no
impact on behavior since there are no subclass destructors.

BUG=596786

Review-Url: https://codereview.chromium.org/2836093006
Cr-Commit-Position: refs/heads/master@{#467617}
parent 2c6e211f
......@@ -91,6 +91,7 @@ class MediaStreamDevicesController {
bool user_gesture,
content::WebContents* web_contents,
std::unique_ptr<MediaStreamDevicesController::Request> request) = 0;
virtual ~PermissionPromptDelegate() {}
};
static void RequestPermissions(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment