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

Unified Diff: content/common/input/input_param_traits_unittest.cc

Issue 2573073003: Collapse the API surface on WebInputEvent via accessor functions. (Closed)
Patch Set: Created 4 years 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 f1c1327ef22c0513157c833c336eca753664c1ed..d57038150004b61b9f15ad9e0afa68207eb0450d 100644
--- a/content/common/input/input_param_traits_unittest.cc
+++ b/content/common/input/input_param_traits_unittest.cc
@@ -30,8 +30,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(),

Powered by Google App Engine
This is Rietveld 408576698