diff options
author | lazyboy@chromium.org <lazyboy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-19 01:59:00 +0000 |
---|---|---|
committer | lazyboy@chromium.org <lazyboy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-19 01:59:00 +0000 |
commit | 1e0ed5b63af845ddbe41f8c0d67e6f89ef013d21 (patch) | |
tree | a0f98c44ed678f98ae524bc4142ee19619fa4b90 /content | |
parent | dbb78dce0119e9fca5be541aa16a4cfdaf167ac7 (diff) | |
download | chromium_src-1e0ed5b63af845ddbe41f8c0d67e6f89ef013d21.zip chromium_src-1e0ed5b63af845ddbe41f8c0d67e6f89ef013d21.tar.gz chromium_src-1e0ed5b63af845ddbe41f8c0d67e6f89ef013d21.tar.bz2 |
reland r235647: Add UMA for <webview> APIs: a. ClearData, b. Permission API.
The CL failed on ASAN because of use after free of PermissionInfo object.
BUG=317084
Test=None, UMA only change.
Review URL: https://codereview.chromium.org/75363005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235890 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r-- | content/browser/browser_plugin/browser_plugin_guest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc index d9538eb..db6ff7d 100644 --- a/content/browser/browser_plugin/browser_plugin_guest.cc +++ b/content/browser/browser_plugin/browser_plugin_guest.cc @@ -436,7 +436,7 @@ int BrowserPluginGuest::RequestPermission( AsWeakPtr(), request_id); // If BrowserPluginGuestDelegate hasn't handled the permission then we simply - // reject it immediately. + // perform the default action (which is one of allow or reject) immediately. if (!delegate_->RequestPermission( permission_type, request_info, callback, request->AllowedByDefault())) { callback.Run(request->AllowedByDefault(), ""); |