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

Unified Diff: ui/aura/window_tree_host.cc

Issue 191223007: Move touch CTM from X into Chrome (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: move CTM update code into a separate file ash/touch/touch_ctm_controller.cc Created 6 years, 9 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: ui/aura/window_tree_host.cc
diff --git a/ui/aura/window_tree_host.cc b/ui/aura/window_tree_host.cc
index 4958c419d7a819eec0d7c05d47730dbb14a6b645..8a6f43c1cacc680fbe8501737f5d424a57be4b28 100644
--- a/ui/aura/window_tree_host.cc
+++ b/ui/aura/window_tree_host.cc
@@ -226,7 +226,9 @@ void WindowTreeHost::MoveCursorToHostLocation(const gfx::Point& host_location) {
WindowTreeHost::WindowTreeHost()
: window_(new Window(NULL)),
- last_cursor_(ui::kCursorNull) {
+ last_cursor_(ui::kCursorNull),
+ display_ids_(std::make_pair(gfx::Display::kInvalidDisplayID,
+ gfx::Display::kInvalidDisplayID)) {
}
void WindowTreeHost::DestroyCompositor() {

Powered by Google App Engine
This is Rietveld 408576698