diff options
-rw-r--r-- | chrome/browser/extensions/api/webrequest/webrequest_api.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/extensions/api/webrequest/webrequest_api.cc b/chrome/browser/extensions/api/webrequest/webrequest_api.cc index 8ed3902..fc9b301 100644 --- a/chrome/browser/extensions/api/webrequest/webrequest_api.cc +++ b/chrome/browser/extensions/api/webrequest/webrequest_api.cc @@ -1587,9 +1587,9 @@ bool WebRequestEventHandled::RunImpl() { std::string request_id_str; EXTENSION_FUNCTION_VALIDATE(args_->GetString(2, &request_id_str)); - // TODO(mpcomplete): string-to-uint64? - int64 request_id; - EXTENSION_FUNCTION_VALIDATE(base::StringToInt64(request_id_str, &request_id)); + uint64 request_id; + EXTENSION_FUNCTION_VALIDATE(base::StringToUint64(request_id_str, + &request_id)); scoped_ptr<ExtensionWebRequestEventRouter::EventResponse> response; if (HasOptionalArgument(3)) { |