summaryrefslogtreecommitdiffstats
path: root/webkit/port/bindings/v8/v8_proxy.h
diff options
context:
space:
mode:
authorager@google.com <ager@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-10 12:01:14 +0000
committerager@google.com <ager@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-10 12:01:14 +0000
commit6addd9e9debd24130c31cdfab55c84bca9bfdc72 (patch)
tree9b446c6f11f9c6b2afdd75e70e2948b5317c4137 /webkit/port/bindings/v8/v8_proxy.h
parentbb93f43ff7bc9f807ce55b2d04a9aa27158bf3c1 (diff)
downloadchromium_src-6addd9e9debd24130c31cdfab55c84bca9bfdc72.zip
chromium_src-6addd9e9debd24130c31cdfab55c84bca9bfdc72.tar.gz
chromium_src-6addd9e9debd24130c31cdfab55c84bca9bfdc72.tar.bz2
The m_context member of the V8 proxy should be empty if any part of
the initialization fails. In particular, if the DOM constructor cache could not be allocated, initialization of the context fails and we dispose and clear the m_context member to signal that the context cannot be used. Review URL: http://codereview.chromium.org/13338 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6705 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port/bindings/v8/v8_proxy.h')
-rw-r--r--webkit/port/bindings/v8/v8_proxy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/port/bindings/v8/v8_proxy.h b/webkit/port/bindings/v8/v8_proxy.h
index 91792b3..12bebde 100644
--- a/webkit/port/bindings/v8/v8_proxy.h
+++ b/webkit/port/bindings/v8/v8_proxy.h
@@ -430,13 +430,13 @@ class V8Proxy {
static String GetSourceName();
private:
- void initContextIfNeeded();
+ void InitContextIfNeeded();
void DisconnectEventListeners();
void SetSecurityToken();
void ClearDocumentWrapper();
void UpdateDocumentWrapper(v8::Handle<v8::Value> wrapper);
// Dispose global handles of m_contexts and friends.
- void DisposeContext();
+ void DisposeContextHandles();
static bool CanAccessPrivate(DOMWindow* target);