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

Unified Diff: content/shell/renderer/webkit_test_runner.cc

Issue 275453002: Update WebFrameClient::didClearWindowObject API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
« no previous file with comments | « content/shell/renderer/webkit_test_runner.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/webkit_test_runner.cc
diff --git a/content/shell/renderer/webkit_test_runner.cc b/content/shell/renderer/webkit_test_runner.cc
index 67596c0350725830a25eb7209f23aa3edddb12cd..ceffa5b943cf05b485fa58892a8693f5d92bed94 100644
--- a/content/shell/renderer/webkit_test_runner.cc
+++ b/content/shell/renderer/webkit_test_runner.cc
@@ -558,13 +558,10 @@ std::string WebKitTestRunner::dumpHistoryForWindow(WebTestProxyBase* proxy) {
// RenderViewObserver --------------------------------------------------------
-void WebKitTestRunner::DidClearWindowObject(WebLocalFrame* frame,
- int world_id) {
+void WebKitTestRunner::DidClearWindowObject(WebLocalFrame* frame) {
WebTestingSupport::injectInternalsObject(frame);
- if (world_id == 0) {
- ShellRenderProcessObserver::GetInstance()->test_interfaces()->bindTo(frame);
- GCController::Install(frame);
- }
+ ShellRenderProcessObserver::GetInstance()->test_interfaces()->bindTo(frame);
+ GCController::Install(frame);
}
bool WebKitTestRunner::OnMessageReceived(const IPC::Message& message) {
« no previous file with comments | « content/shell/renderer/webkit_test_runner.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698