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

Unified Diff: content/shell/test_runner/mock_webrtc_peer_connection_handler.cc

Issue 2813023002: [Bindings] Make maplike<> and setlike<> imply a readonly size attribute. (Closed)
Patch Set: merge with 23752147e6f5f7dcaf4bad1bb1c306fb91e1ec5b Created 3 years, 8 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/shell/test_runner/mock_webrtc_peer_connection_handler.cc
diff --git a/content/shell/test_runner/mock_webrtc_peer_connection_handler.cc b/content/shell/test_runner/mock_webrtc_peer_connection_handler.cc
index 32d2ca600cc4e79bc22aedcd40ce997c96c5db2d..e4988a4075de9c86a0a1449390f65a587c87dcb1 100644
--- a/content/shell/test_runner/mock_webrtc_peer_connection_handler.cc
+++ b/content/shell/test_runner/mock_webrtc_peer_connection_handler.cc
@@ -233,6 +233,7 @@ class MockWebRTCStatsReport : public blink::WebRTCStatsReport {
return std::unique_ptr<blink::WebRTCStats>(
new MockWebRTCStats(stats_[i_++]));
}
+ size_t Size() const override { return stats_.size(); }
private:
std::vector<MockWebRTCStats> stats_;

Powered by Google App Engine
This is Rietveld 408576698