summaryrefslogtreecommitdiffstats
path: root/webkit/port/bindings
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-24 08:33:33 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-24 08:33:33 +0000
commit3c3c85474945bec57ca70eb884002de8944eea5f (patch)
tree8a60bc9b1ce267b38d2025ec057a4298cb420041 /webkit/port/bindings
parent08856366bb615a28da956cd02d8ad749090916ab (diff)
downloadchromium_src-3c3c85474945bec57ca70eb884002de8944eea5f.zip
chromium_src-3c3c85474945bec57ca70eb884002de8944eea5f.tar.gz
chromium_src-3c3c85474945bec57ca70eb884002de8944eea5f.tar.bz2
Slight change to r7333.
See rietveld issue 14877. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7468 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port/bindings')
-rw-r--r--webkit/port/bindings/v8/v8_custom.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/port/bindings/v8/v8_custom.cpp b/webkit/port/bindings/v8/v8_custom.cpp
index 3327b0d..2731902 100644
--- a/webkit/port/bindings/v8/v8_custom.cpp
+++ b/webkit/port/bindings/v8/v8_custom.cpp
@@ -2741,7 +2741,8 @@ CALLBACK_FUNC_DECL(HTMLDocumentOpen) {
Frame* frame = V8Proxy::retrieveActiveFrame();
imp->open(frame->document());
- return args.This();
+ // Return the document.
+ return args.Holder();
}
// Document --------------------------------------------------------------------