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

Unified Diff: blimp/net/input_message_unittest.cc

Issue 2573073003: Collapse the API surface on WebInputEvent via accessor functions. (Closed)
Patch Set: Fix nits 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
« no previous file with comments | « blimp/net/input_message_generator.cc ('k') | chrome/browser/android/vr_shell/vr_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/input_message_unittest.cc
diff --git a/blimp/net/input_message_unittest.cc b/blimp/net/input_message_unittest.cc
index 89a814f998ba621b58e659fa0892445560c7745c..46075583ddd83021f59ede50661b4ae1d7424923 100644
--- a/blimp/net/input_message_unittest.cc
+++ b/blimp/net/input_message_unittest.cc
@@ -30,8 +30,8 @@ void ValidateWebGestureEventRoundTripping(const blink::WebGestureEvent& event) {
processor.ProcessMessage(proto->input());
EXPECT_NE(nullptr, new_event.get());
- EXPECT_EQ(event.size, new_event->size);
- EXPECT_EQ(0, memcmp(&event, new_event.get(), event.size));
+ EXPECT_EQ(event.size(), new_event->size());
+ EXPECT_EQ(0, memcmp(&event, new_event.get(), event.size()));
}
blink::WebGestureEvent BuildBaseTestEvent(blink::WebInputEvent::Type type) {
« no previous file with comments | « blimp/net/input_message_generator.cc ('k') | chrome/browser/android/vr_shell/vr_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698