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

Unified Diff: content/renderer/gpu/render_widget_compositor.cc

Issue 379473002: Rename composited selection anchor/focus to start/end (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update test Created 6 years, 5 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/renderer/gpu/render_widget_compositor.cc
diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc
index 96a74c6d06fa30c0c9d76bd51fe06aa21e5cc88f..5a1792b63ee23307c0c4d0da60f98bd8ee06ff4f 100644
--- a/content/renderer/gpu/render_widget_compositor.cc
+++ b/content/renderer/gpu/render_widget_compositor.cc
@@ -658,10 +658,10 @@ void RenderWidgetCompositor::clearViewportLayers() {
}
void RenderWidgetCompositor::registerSelection(
- const blink::WebSelectionBound& anchor,
- const blink::WebSelectionBound& focus) {
- layer_tree_host_->RegisterSelection(ConvertWebSelectionBound(anchor),
- ConvertWebSelectionBound(focus));
+ const blink::WebSelectionBound& start,
+ const blink::WebSelectionBound& end) {
+ layer_tree_host_->RegisterSelection(ConvertWebSelectionBound(start),
+ ConvertWebSelectionBound(end));
}
void RenderWidgetCompositor::clearSelection() {
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.h ('k') | content/test/web_layer_tree_view_impl_for_testing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698