summaryrefslogtreecommitdiffstats
path: root/content/renderer/cpp_bound_class_unittest.cc
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-13 11:24:12 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-13 11:24:12 +0000
commitc4f80f728b24a2f4816deeaf2a76488bb20a0447 (patch)
tree8b25eb7c68857ae9cfdbf9c90dac21152f7a675e /content/renderer/cpp_bound_class_unittest.cc
parentc5f2902ee82e01df29cdb6c71e76e076e32f6178 (diff)
downloadchromium_src-c4f80f728b24a2f4816deeaf2a76488bb20a0447.zip
chromium_src-c4f80f728b24a2f4816deeaf2a76488bb20a0447.tar.gz
chromium_src-c4f80f728b24a2f4816deeaf2a76488bb20a0447.tar.bz2
Update WebFrameClient::didClearWindowObject signature.
The callback is called both for the main and isolated worlds, the new API indicates in which world the window object was cleared BUG=none R=abarth@chromium.org Review URL: https://codereview.chromium.org/133123008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244485 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/cpp_bound_class_unittest.cc')
-rw-r--r--content/renderer/cpp_bound_class_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/renderer/cpp_bound_class_unittest.cc b/content/renderer/cpp_bound_class_unittest.cc
index 9504c65..7f6b466 100644
--- a/content/renderer/cpp_bound_class_unittest.cc
+++ b/content/renderer/cpp_bound_class_unittest.cc
@@ -59,7 +59,8 @@ class TestObserver : public RenderViewObserver {
public:
explicit TestObserver(RenderView* render_view)
: RenderViewObserver(render_view) {}
- virtual void DidClearWindowObject(blink::WebFrame* frame) OVERRIDE {
+ virtual void DidClearWindowObject(blink::WebFrame* frame,
+ int world_id) OVERRIDE {
example_bound_class_.BindToJavascript(frame, "example");
}
void set_fallback_method_enabled(bool use_fallback) {