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

Unified Diff: Source/modules/bluetooth/ConvertWebVectorToArrayBuffer.h

Issue 1315743003: [part 1] Make classes and structures in modules/ fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « Source/modules/bluetooth/BluetoothSupplement.h ('k') | Source/modules/cachestorage/CacheStorageError.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/bluetooth/ConvertWebVectorToArrayBuffer.h
diff --git a/Source/modules/bluetooth/ConvertWebVectorToArrayBuffer.h b/Source/modules/bluetooth/ConvertWebVectorToArrayBuffer.h
index 95fa16efe1218093e6d3b320b07e7a94dc13567a..3e3643d25c1e33340f49c1c04b51f6d686468fa2 100644
--- a/Source/modules/bluetooth/ConvertWebVectorToArrayBuffer.h
+++ b/Source/modules/bluetooth/ConvertWebVectorToArrayBuffer.h
@@ -16,14 +16,11 @@ class ScriptPromiseResolver;
// ConvertWebVectorToArrayBuffer is used with CallbackPromiseAdapter to receive
// WebVector responses. See CallbackPromiseAdapter class comments.
class ConvertWebVectorToArrayBuffer {
- WTF_MAKE_NONCOPYABLE(ConvertWebVectorToArrayBuffer);
+ STATIC_ONLY(ConvertWebVectorToArrayBuffer);
public:
// Interface required by CallbackPromiseAdapter:
using WebType = const WebVector<uint8_t>&;
static PassRefPtr<DOMArrayBuffer> take(ScriptPromiseResolver*, const WebVector<uint8_t>&);
-
-private:
- ConvertWebVectorToArrayBuffer() = delete;
};
} // namespace blink
« no previous file with comments | « Source/modules/bluetooth/BluetoothSupplement.h ('k') | Source/modules/cachestorage/CacheStorageError.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698