diff options
author | fqian@google.com <fqian@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-10 04:09:48 +0000 |
---|---|---|
committer | fqian@google.com <fqian@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-10 04:09:48 +0000 |
commit | 564eee25d576db623bd6b648b28b9b649e2a1b8b (patch) | |
tree | c80ce94a65a351febd62d23c9a63fe1d0d0ae128 /webkit/port/page/Navigator.h | |
parent | efecec54fc5177976a766d94b4e8be2e444078c1 (diff) | |
download | chromium_src-564eee25d576db623bd6b648b28b9b649e2a1b8b.zip chromium_src-564eee25d576db623bd6b648b28b9b649e2a1b8b.tar.gz chromium_src-564eee25d576db623bd6b648b28b9b649e2a1b8b.tar.bz2 |
Patch for bug 1994:
Make sure that customized properties set on window.location and window.navigator survive
GC. Matches Safari and Firefox's behaviors.
Review URL: http://codereview.chromium.org/1884
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1973 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port/page/Navigator.h')
-rw-r--r-- | webkit/port/page/Navigator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/port/page/Navigator.h b/webkit/port/page/Navigator.h index 90660a7..983daea 100644 --- a/webkit/port/page/Navigator.h +++ b/webkit/port/page/Navigator.h @@ -243,6 +243,8 @@ class Navigator : public RefCounted<Navigator> { return m_frame->settings()->isJavaEnabled(); } + Frame* frame() { return m_frame; } + void disconnectFrame() { m_frame = NULL; } private: |