void InspectorDOMStorageAgent::removeDOMStorageItem(ErrorString* errorString, const RefPtr<JSONObject>& storageId, const String& key) { LocalFrame* frame; OwnPtrWillBeRawPtr<StorageArea> storageArea = findStorageArea(0, storageId, frame); if (!storageArea) { *errorString = "Storage not found"; return; } TrackExceptionState exceptionState; storageArea->removeItem(key, exceptionState, frame); *errorString = toErrorString(exceptionState); }