Index: extensions/renderer/storage_area.cc |
diff --git a/extensions/renderer/storage_area.cc b/extensions/renderer/storage_area.cc |
index d30173992e24396407534bd79232b1dc233e9f32..b952460c06009743aa2c15473990f6fbd4456b87 100644 |
--- a/extensions/renderer/storage_area.cc |
+++ b/extensions/renderer/storage_area.cc |
@@ -183,11 +183,7 @@ void StorageArea::HandleFunctionCall(const std::string& method_name, |
v8::HandleScope handle_scope(isolate); |
v8::Local<v8::Context> context = arguments->GetHolderCreationContext(); |
- std::vector<v8::Local<v8::Value>> argument_list; |
- if (arguments->Length() > 0) { |
- // Just copying handles should never fail. |
- CHECK(arguments->GetRemaining(&argument_list)); |
- } |
+ std::vector<v8::Local<v8::Value>> argument_list = arguments->GetAll(); |
std::unique_ptr<base::ListValue> converted_arguments; |
v8::Local<v8::Function> callback; |