Index: public/platform/WebLayerTreeView.h |
diff --git a/public/platform/WebLayerTreeView.h b/public/platform/WebLayerTreeView.h |
index d268c96e157089748982ff9a6d5868c00069a1cb..14895ee7b4aab37c4836c9a4766270f723631669 100644 |
--- a/public/platform/WebLayerTreeView.h |
+++ b/public/platform/WebLayerTreeView.h |
@@ -124,7 +124,9 @@ public: |
// If the (empty) selection is an insertion point, |start| and |end| will be identical with type |Caret|. |
// If the (non-empty) selection has mixed RTL/LTR text, |start| and |end| may share the same type, |
// |SelectionLeft| or |SelectionRight|. |
+ // TOOD(jdduke): Remove this function when downstream consumers have been updated to use WebSelectionBounds. |
virtual void registerSelection(const WebSelectionBound& start, const WebSelectionBound& end) { } |
+ virtual void registerSelection(const WebSelectionBounds& bounds) { registerSelection(bounds.start, bounds.end); } |
virtual void clearSelection() { } |
// Debugging / dangerous --------------------------------------------- |