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

Unified Diff: content/browser/websockets/websocket_manager_unittest.cc

Issue 2607063002: Remove mojo::Array. (Closed)
Patch Set: Created 3 years, 11 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: content/browser/websockets/websocket_manager_unittest.cc
diff --git a/content/browser/websockets/websocket_manager_unittest.cc b/content/browser/websockets/websocket_manager_unittest.cc
index 2c9b37525cfcd1accd59644876bb368789e0be0b..799c57123bec495c0f2300d658d987750711bcdf 100644
--- a/content/browser/websockets/websocket_manager_unittest.cc
+++ b/content/browser/websockets/websocket_manager_unittest.cc
@@ -135,7 +135,7 @@ TEST_F(WebSocketManagerTest, SendFrameButNotConnectedYet) {
websocket_manager()->DoCreateWebSocket(mojo::MakeRequest(&websocket));
// This should not crash.
- mojo::Array<uint8_t> data;
+ std::vector<uint8_t> data;
websocket->SendFrame(
true, blink::mojom::WebSocketMessageType::TEXT, std::move(data));
yzshen1 2017/01/06 19:38:37 nit: it doesn't need std::move here. the parameter
Sam McNally 2017/01/09 23:15:15 Done.
}

Powered by Google App Engine
This is Rietveld 408576698