Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: components/test_runner/web_frame_test_proxy.h

Issue 1897363003: Use correct WebView from EventSender. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed initial state of EventSender. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/test_runner/web_frame_test_proxy.h
diff --git a/components/test_runner/web_frame_test_proxy.h b/components/test_runner/web_frame_test_proxy.h
index 7e7c1a12c5322664b13f64ed9d2588933468eb1e..d2b6ec1fbcb4040654398649d28e909d27fee1e9 100644
--- a/components/test_runner/web_frame_test_proxy.h
+++ b/components/test_runner/web_frame_test_proxy.h
@@ -286,6 +286,11 @@ class WebFrameTestProxy : public Base, public WebFrameTestProxyBase {
sink_id, security_origin, web_callbacks);
}
+ void didClearWindowObject(blink::WebLocalFrame* frame) override {
+ test_client()->didClearWindowObject(frame);
+ Base::didClearWindowObject(frame);
+ }
+
private:
DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy);
};

Powered by Google App Engine
This is Rietveld 408576698