aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EventContext.cpp
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-10-27 23:18:14 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-10-27 23:18:14 +0800
commit0c602edff1de6eaf85746201f94e2b1c4d815da0 (patch)
treef8eec8899ad045851561fb66b1967d930e1db813 /embed/mozilla/EventContext.cpp
parent21f69a6461a12704c97fad51d7ac709faab90cdc (diff)
downloadgsoc2013-epiphany-0c602edff1de6eaf85746201f94e2b1c4d815da0.tar.gz
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/EventContext.cpp')
-rw-r--r--embed/mozilla/EventContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/mozilla/EventContext.cpp b/embed/mozilla/EventContext.cpp
index bfce49e2e..061448aa8 100644
--- a/embed/mozilla/EventContext.cpp
+++ b/embed/mozilla/EventContext.cpp
@@ -771,7 +771,7 @@ nsresult EventContext::IsPageFramed (nsIDOMNode *node, PRBool *Framed)
nsresult result;
nsCOMPtr<nsIDOMDocument> mainDocument;
- result = mWrapper->GetMainDOMDocument (getter_AddRefs(mainDocument));
+ result = mWrapper->GetDocument (getter_AddRefs(mainDocument));
if (NS_FAILED(result) || !mainDocument) return NS_ERROR_FAILURE;
nsCOMPtr<nsIDOMDocument> nodeDocument;