summaryrefslogtreecommitdiffstats
path: root/webkit/port/bindings/v8/v8_custom.h
diff options
context:
space:
mode:
authorfqian@google.com <fqian@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-04 01:14:38 +0000
committerfqian@google.com <fqian@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-04 01:14:38 +0000
commit2ecc3274a76dd709e2aaf74d385f57b499d843b5 (patch)
tree08f5e57ba44140fb4cb8ee8bb426904b0205b533 /webkit/port/bindings/v8/v8_custom.h
parent3878d08262a721fd785844c56e3e7c0617647101 (diff)
downloadchromium_src-2ecc3274a76dd709e2aaf74d385f57b499d843b5.zip
chromium_src-2ecc3274a76dd709e2aaf74d385f57b499d843b5.tar.gz
chromium_src-2ecc3274a76dd709e2aaf74d385f57b499d843b5.tar.bz2
De-peerable part 2. Lot of changes on the binding side.
The binding code relies on the type id to cast 'void*' to the right C++ type in order to call ref() and deref(). Bump third_party/WebKit to 6342 to include depeered RefCounted files and etc. Review URL: http://codereview.chromium.org/12903 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6343 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port/bindings/v8/v8_custom.h')
-rw-r--r--webkit/port/bindings/v8/v8_custom.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/port/bindings/v8/v8_custom.h b/webkit/port/bindings/v8/v8_custom.h
index c93fdf9..64a2351 100644
--- a/webkit/port/bindings/v8/v8_custom.h
+++ b/webkit/port/bindings/v8/v8_custom.h
@@ -33,8 +33,8 @@ class V8Custom {
public:
// Constants.
- static const int kDOMWrapperObjectIndex = 0;
- static const int kDOMWrapperTypeIndex = 1;
+ static const int kDOMWrapperTypeIndex = 0;
+ static const int kDOMWrapperObjectIndex = 1;
static const int kDefaultWrapperInternalFieldCount = 2;
static const int kDocumentImplementationIndex =