diff options
author | fqian@google.com <fqian@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-04 19:53:27 +0000 |
---|---|---|
committer | fqian@google.com <fqian@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-04 19:53:27 +0000 |
commit | c4cc1c778cb681c39b54d28548bc95a80ee11560 (patch) | |
tree | 012c78b2a497d35fc2b4c877bb78066ea3921686 | |
parent | 73e53af0d3cfcc24eebd1238460c69356b86d325 (diff) | |
download | chromium_src-c4cc1c778cb681c39b54d28548bc95a80ee11560.zip chromium_src-c4cc1c778cb681c39b54d28548bc95a80ee11560.tar.gz chromium_src-c4cc1c778cb681c39b54d28548bc95a80ee11560.tar.bz2 |
Navigate to "about:blank" before calling GC so that the current
page does not hold references to DOM objects.
This should reduce noise of reporting leaked nodes.
Review URL: http://codereview.chromium.org/12936
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6377 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | webkit/tools/test_shell/test_shell.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_shell.cc b/webkit/tools/test_shell/test_shell.cc index d132a7f..d5220c5 100644 --- a/webkit/tools/test_shell/test_shell.cc +++ b/webkit/tools/test_shell/test_shell.cc @@ -124,6 +124,7 @@ TestShell::TestShell() } TestShell::~TestShell() { + LoadURL(L"about:blank"); // Call GC twice to clean up garbage. CallJSGC(); CallJSGC(); |