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

Unified Diff: content/browser/renderer_host/input/touch_emulator_unittest.cc

Issue 2119283002: Use container::back() and container::pop_back() for content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/renderer_host/input/touch_emulator_unittest.cc
diff --git a/content/browser/renderer_host/input/touch_emulator_unittest.cc b/content/browser/renderer_host/input/touch_emulator_unittest.cc
index 51580ff447b3ce17c4e566e849f486d97236f824..2852a1f0fa81d42ae2b54e02ca3e39cf953cd1cf 100644
--- a/content/browser/renderer_host/input/touch_emulator_unittest.cc
+++ b/content/browser/renderer_host/input/touch_emulator_unittest.cc
@@ -219,7 +219,7 @@ class TouchEmulatorTest : public testing::Test,
if (ack) {
// Can't send ack if there are some pending acks.
- DCHECK(!touch_events_to_ack_.size());
+ DCHECK(touch_events_to_ack_.empty());
// Touch event is forwarded, ack should not be handled by emulator.
EXPECT_FALSE(emulator()->HandleTouchEventAck(
« no previous file with comments | « content/browser/plugin_service_impl.cc ('k') | content/browser/renderer_host/media/video_capture_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698