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

Unified Diff: chrome/browser/media/router/browser_presentation_connection_proxy_unittest.cc

Issue 2679423004: Remove unused lambda capture in browser_presentation_connection_proxy_unittest. (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/router/browser_presentation_connection_proxy_unittest.cc
diff --git a/chrome/browser/media/router/browser_presentation_connection_proxy_unittest.cc b/chrome/browser/media/router/browser_presentation_connection_proxy_unittest.cc
index 4882d739654422b9e142badf8b15985da8f45b83..81a2cdc264422fd2fe4c6fc083824589d4eb3291 100644
--- a/chrome/browser/media/router/browser_presentation_connection_proxy_unittest.cc
+++ b/chrome/browser/media/router/browser_presentation_connection_proxy_unittest.cc
@@ -104,7 +104,7 @@ TEST_F(BrowserPresentationConnectionProxyTest, TestOnMessageBinaryMessage) {
base::MockCallback<base::Callback<void(bool)>> mock_on_message_callback;
EXPECT_CALL(*mock_router(), SendRouteBinaryMessageInternal(_, _, _))
- .WillOnce(::testing::Invoke([this, &expected_data](
+ .WillOnce(::testing::Invoke([&expected_data](
const MediaRoute::Id& route_id, std::vector<uint8_t>* data,
const BrowserPresentationConnectionProxy::OnMessageCallback&
callback) { EXPECT_EQ(expected_data, *data); }));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698