Update didClearWindowObject API in webview plugin
commite3ba8c6758dc098e0854349ec5c44440548af8a5
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 16 May 2014 12:03:23 +0000 (16 12:03 +0000)
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 16 May 2014 12:03:23 +0000 (16 12:03 +0000)
tree87b58e3812512302825885be42d62edd90bf99d6
parent28b989cc54a58fc7fabe0ef545cf5256d04ca8d9
Update didClearWindowObject API in webview plugin

We now only call this method for the main world (world_id == 0)

BUG=none
R=bauerb@chromium.org

Review URL: https://codereview.chromium.org/292493002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270998 0039d316-1c4b-4281-b951-d872f2087c98
components/plugins/renderer/webview_plugin.cc
components/plugins/renderer/webview_plugin.h