Chromium Code Reviews| Index: ios/chrome/browser/ui/contextual_search/resources/contextualsearch.js |
| diff --git a/ios/chrome/browser/ui/contextual_search/resources/contextualsearch.js b/ios/chrome/browser/ui/contextual_search/resources/contextualsearch.js |
| index ae36f5981389e757b8e605153df2e8512a34da73..2b93124a027a1078d0a74c492488dacbb955fb8e 100644 |
| --- a/ios/chrome/browser/ui/contextual_search/resources/contextualsearch.js |
| +++ b/ios/chrome/browser/ui/contextual_search/resources/contextualsearch.js |
| @@ -786,7 +786,7 @@ Context.getContextDataFromPoint = function(x, y) { |
| * @private |
| */ |
| Context.contextFromPoint = function(x, y) { |
| - // Should this use core.js's elementFromPoint_() instead? |
| + // Should this use context_menu.js's elementFromPoint_() instead? |
|
Eugene But (OOO till 7-30)
2017/04/13 16:30:06
Would you mind filing a bug and adding a TODO for
danyao
2017/04/13 17:40:45
Done.
|
| var contextData = new ContextData(); |
| var element = document.elementFromPoint(x, y); |
| if (!element) { |