diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2003-10-27 23:18:14 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2003-10-27 23:18:14 +0800 |
commit | 0c602edff1de6eaf85746201f94e2b1c4d815da0 (patch) | |
tree | f8eec8899ad045851561fb66b1967d930e1db813 /embed/mozilla/mozilla-embed-persist.cpp | |
parent | 21f69a6461a12704c97fad51d7ac709faab90cdc (diff) | |
download | gsoc2013-epiphany-0c602edff1de6eaf85746201f94e2b1c4d815da0.tar gsoc2013-epiphany-0c602edff1de6eaf85746201f94e2b1c4d815da0.tar.gz gsoc2013-epiphany-0c602edff1de6eaf85746201f94e2b1c4d815da0.tar.bz2 gsoc2013-epiphany-0c602edff1de6eaf85746201f94e2b1c4d815da0.tar.lz gsoc2013-epiphany-0c602edff1de6eaf85746201f94e2b1c4d815da0.tar.xz gsoc2013-epiphany-0c602edff1de6eaf85746201f94e2b1c4d815da0.tar.zst gsoc2013-epiphany-0c602edff1de6eaf85746201f94e2b1c4d815da0.zip |
Solving the wrapper mess Episode 1.
2003-10-27 Marco Pesenti Gritti <marco@gnome.org>
* embed/ephy-embed.c:
* embed/ephy-embed.h:
* embed/mozilla/EphyWrapper.cpp:
* embed/mozilla/EphyWrapper.h:
* embed/mozilla/EventContext.cpp:
* embed/mozilla/mozilla-embed-persist.cpp:
* embed/mozilla/mozilla-embed.cpp:
Solving the wrapper mess Episode 1.
Cleanup EphyWrapper to use higher level apis.
Do not set docshell history explicitly, it seem
to pickup the registered one nicely.
Diffstat (limited to 'embed/mozilla/mozilla-embed-persist.cpp')
-rw-r--r-- | embed/mozilla/mozilla-embed-persist.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embed/mozilla/mozilla-embed-persist.cpp b/embed/mozilla/mozilla-embed-persist.cpp index 53443246f..3aef38c89 100644 --- a/embed/mozilla/mozilla-embed-persist.cpp +++ b/embed/mozilla/mozilla-embed-persist.cpp @@ -235,11 +235,11 @@ impl_save (EphyEmbedPersist *persist) { if (flags & EMBED_PERSIST_MAINDOC) { - rv = wrapper->GetMainDOMDocument (getter_AddRefs(DOMDocument)); + rv = wrapper->GetDocument (getter_AddRefs(DOMDocument)); } else { - rv = wrapper->GetDOMDocument (getter_AddRefs(DOMDocument)); + rv = wrapper->GetTargetDocument (getter_AddRefs(DOMDocument)); } if (NS_FAILED(rv) || !DOMDocument) return G_FAILED; } |