Commit 80399d3a authored by Takashi Toyoshima's avatar Takashi Toyoshima Committed by Commit Bot

OOR-CORS: SharedCorsOriginAccessList should not be copyable

In the previous change, I forgot to add DISALLOW_COPY_AND_ASSIGN
macro to the SharedCorsOriginAccessList.

Bug: N/A
Change-Id: Ib23a0d04392c76eca5865632e616ff3aaf3b671e
Reviewed-on: https://chromium-review.googlesource.com/c/1438779Reviewed-by: default avatarKinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org>
Cr-Commit-Position: refs/heads/master@{#626936}
parent 47364f1e
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <vector> #include <vector>
#include "base/macros.h"
#include "base/memory/ref_counted.h" #include "base/memory/ref_counted.h"
#include "base/memory/scoped_refptr.h" #include "base/memory/scoped_refptr.h"
#include "content/common/content_export.h" #include "content/common/content_export.h"
...@@ -60,6 +61,8 @@ class CONTENT_EXPORT SharedCorsOriginAccessList ...@@ -60,6 +61,8 @@ class CONTENT_EXPORT SharedCorsOriginAccessList
private: private:
friend class base::RefCountedThreadSafe<SharedCorsOriginAccessList>; friend class base::RefCountedThreadSafe<SharedCorsOriginAccessList>;
DISALLOW_COPY_AND_ASSIGN(SharedCorsOriginAccessList);
}; };
} // namespace content } // 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