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

Unified Diff: content/common/input/input_param_traits_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
Index: content/common/input/input_param_traits_unittest.cc
diff --git a/content/common/input/input_param_traits_unittest.cc b/content/common/input/input_param_traits_unittest.cc
index e049abf7c5dc74f1402632188177a42741e4e3cb..fb4143cc7936f628cb340ec5f7554847683e4df2 100644
--- a/content/common/input/input_param_traits_unittest.cc
+++ b/content/common/input/input_param_traits_unittest.cc
@@ -32,8 +32,8 @@ class InputParamTraitsTest : public testing::Test {
static void Compare(const InputEvent* a, const InputEvent* b) {
EXPECT_EQ(!!a->web_event, !!b->web_event);
if (a->web_event && b->web_event) {
- const size_t a_size = a->web_event->size;
- ASSERT_EQ(a_size, b->web_event->size);
+ const size_t a_size = a->web_event->size();
+ ASSERT_EQ(a_size, b->web_event->size());
EXPECT_EQ(0, memcmp(a->web_event.get(), b->web_event.get(), a_size));
}
EXPECT_EQ(a->latency_info.latency_components().size(),
« no previous file with comments | « content/common/input/input_event_stream_validator.cc ('k') | content/common/input/synthetic_web_input_event_builders.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698