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

Unified Diff: cc/output/viewport_selection_bound.cc

Issue 494823002: Plumb selection edge points through the compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 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 | « cc/output/viewport_selection_bound.h ('k') | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/viewport_selection_bound.cc
diff --git a/cc/output/viewport_selection_bound.cc b/cc/output/viewport_selection_bound.cc
index cfcb82999e644bfc39ebc5051d08ab55003fb937..75a38d698d95deafc9ba958d0ae17d858c5f6ae2 100644
--- a/cc/output/viewport_selection_bound.cc
+++ b/cc/output/viewport_selection_bound.cc
@@ -16,7 +16,7 @@ ViewportSelectionBound::~ViewportSelectionBound() {
bool operator==(const ViewportSelectionBound& lhs,
const ViewportSelectionBound& rhs) {
return lhs.type == rhs.type && lhs.visible == rhs.visible &&
- lhs.viewport_rect == rhs.viewport_rect;
+ lhs.edge_top == rhs.edge_top && lhs.edge_bottom == rhs.edge_bottom;
}
bool operator!=(const ViewportSelectionBound& lhs,
« no previous file with comments | « cc/output/viewport_selection_bound.h ('k') | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698