summaryrefslogtreecommitdiffstats
path: root/webkit/port/bindings/v8/np_v8object.cpp
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-11 00:35:27 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-11 00:35:27 +0000
commit2255ea5ac77019d393c7776b387385565a9d3087 (patch)
tree0ec499618c45c8eb841f768d6bde9ff9049dd368 /webkit/port/bindings/v8/np_v8object.cpp
parentd960ba465f0513bf56d1e5317a9c7194da8306b5 (diff)
downloadchromium_src-2255ea5ac77019d393c7776b387385565a9d3087.zip
chromium_src-2255ea5ac77019d393c7776b387385565a9d3087.tar.gz
chromium_src-2255ea5ac77019d393c7776b387385565a9d3087.tar.bz2
enable v8bindings warnings
Make warnings fatal in V8Bindings. Review URL: http://codereview.chromium.org/7044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3263 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port/bindings/v8/np_v8object.cpp')
-rw-r--r--webkit/port/bindings/v8/np_v8object.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/webkit/port/bindings/v8/np_v8object.cpp b/webkit/port/bindings/v8/np_v8object.cpp
index 7e6b8b3..9bce40d 100644
--- a/webkit/port/bindings/v8/np_v8object.cpp
+++ b/webkit/port/bindings/v8/np_v8object.cpp
@@ -432,8 +432,6 @@ bool NPN_HasMethod(NPP npp, NPObject *npobj, NPIdentifier methodName) {
void NPN_SetException(NPObject *npobj, const NPUTF8 *message) {
if (npobj->_class == NPScriptObjectClass) {
- V8NPObject *object = reinterpret_cast<V8NPObject*>(npobj);
-
v8::HandleScope handle_scope;
v8::Handle<v8::Context> context = GetV8Context(NULL, npobj);
if (context.IsEmpty()) return;