Remove unused cruft, change tracking JS object identity to use an expando
property on JS objects. With this, the Chrome plugin is usable but the
access control still needs to be implemented before we can ship it.
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@6106 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/plugins/npapi/ScriptableInstance.h b/plugins/npapi/ScriptableInstance.h
index 035f823..cdce6f3 100644
--- a/plugins/npapi/ScriptableInstance.h
+++ b/plugins/npapi/ScriptableInstance.h
@@ -63,7 +63,7 @@
void dumpJSresult(const char* js);
- int getLocalObjectRef(NPObject* obj) { return localObjects.add(obj); }
+ int getLocalObjectRef(NPObject* obj);
NPObject* getLocalObject(int refid) { return localObjects.get(refid); }
bool tryGetStringPrimitive(NPObject* obj, NPVariant& result);
@@ -92,7 +92,7 @@
const NPIdentifier connectedID;
const NPIdentifier statsID;
- const NPIdentifier savedID;
+ const NPIdentifier gwtId;
const NPIdentifier jsInvokeID;
const NPIdentifier jsResultID;