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

Unified Diff: content/common/content_param_traits.cc

Issue 2240983003: Move |ScopedWebInputEvent| and |WebInputEventTraits| from |content::| to "ui/events/blink" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and ncarter's review Created 4 years, 4 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 | « content/browser/web_contents/web_contents_impl.cc ('k') | content/common/input/event_with_latency_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/content_param_traits.cc
diff --git a/content/common/content_param_traits.cc b/content/common/content_param_traits.cc
index 7b441c3f1c0efc63f684452737c037282b54f4d7..6cff525a3d340256d7c1a89a7366cebc61ad6d12 100644
--- a/content/common/content_param_traits.cc
+++ b/content/common/content_param_traits.cc
@@ -7,8 +7,8 @@
#include <stddef.h>
#include "base/strings/string_number_conversions.h"
-#include "content/common/input/web_input_event_traits.h"
#include "net/base/ip_endpoint.h"
+#include "ui/events/blink/web_input_event_traits.h"
namespace IPC {
@@ -42,7 +42,7 @@ bool ParamTraits<WebInputEventPointer>::Read(const base::Pickle* m,
return false;
}
const size_t expected_size_for_type =
- content::WebInputEventTraits::GetSize(event->type);
+ ui::WebInputEventTraits::GetSize(event->type);
if (data_length != static_cast<int>(expected_size_for_type)) {
NOTREACHED();
return false;
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/common/input/event_with_latency_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698