Commit 025697a2 authored by Simon Zünd's avatar Simon Zünd Committed by Commit Bot

[cleanup] Replace std::deque with base::circular_deque

As per guidance of base/containers/README.md.

R=sigurds@chromium.org

Change-Id: I2e078e0199cdebd98ef442f6e3bb2974f1666041
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2315017
Auto-Submit: Simon Zünd <szuend@chromium.org>
Reviewed-by: default avatarSigurd Schneider <sigurds@chromium.org>
Commit-Queue: Simon Zünd <szuend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#791178}
parent b869a445
......@@ -5,8 +5,7 @@
#ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_ISSUE_STORAGE_H_
#define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_ISSUE_STORAGE_H_
#include <deque>
#include "base/containers/circular_deque.h"
#include "base/unguessable_token.h"
#include "content/public/browser/web_contents_observer.h"
#include "content/public/browser/web_contents_user_data.h"
......@@ -49,7 +48,7 @@ class DevToolsIssueStorage
using FrameAssociatedIssue =
std::pair<int, std::unique_ptr<protocol::Audits::InspectorIssue>>;
std::deque<FrameAssociatedIssue> issues_;
base::circular_deque<FrameAssociatedIssue> issues_;
};
} // namespace content
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment