bool InjectedScript::findObject(ErrorString* errorString, const RemoteObjectId& objectId, v8::Local<v8::Value>* outObject) const { *outObject = m_native->objectForId(objectId.id()); if (outObject->IsEmpty()) *errorString = "Could not find object with given id"; return !outObject->IsEmpty(); }
v8::Local<v8::Value> InjectedScript::findObject(const RemoteObjectId& objectId) const { ASSERT(!isEmpty()); return m_native->objectForId(objectId.id()); }
String16 InjectedScript::objectGroupName(const RemoteObjectId& objectId) const { return m_native->groupName(objectId.id()); }