Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(557)

Unified Diff: Source/core/fetch/CrossOriginAccessControl.h

Issue 1310643003: Make classes and structures in core/events and core/fetch fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/fetch/CrossOriginAccessControl.h
diff --git a/Source/core/fetch/CrossOriginAccessControl.h b/Source/core/fetch/CrossOriginAccessControl.h
index 926dfe86356650b04c4a38a86e21bcdfc00d3b8f..de062d0acbf59589e2666aeb35a3757c7edd701b 100644
--- a/Source/core/fetch/CrossOriginAccessControl.h
+++ b/Source/core/fetch/CrossOriginAccessControl.h
@@ -30,6 +30,7 @@
#include "core/CoreExport.h"
#include "core/fetch/ResourceLoaderOptions.h"
#include "platform/network/ResourceRequest.h"
+#include "wtf/Allocator.h"
#include "wtf/Forward.h"
#include "wtf/HashSet.h"
@@ -44,6 +45,7 @@ class ResourceResponse;
class SecurityOrigin;
class CrossOriginAccessControl {
+ STATIC_ONLY(CrossOriginAccessControl);
public:
// Given the new request URL, returns true if
// - the URL has a CORS supported scheme and

Powered by Google App Engine
This is Rietveld 408576698