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

Unified Diff: chrome/browser/android/contextualsearch/contextual_search_context.cc

Issue 2348443002: Revert of [TTS] Gather surrounding text on Tap before any UX. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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: chrome/browser/android/contextualsearch/contextual_search_context.cc
diff --git a/chrome/browser/android/contextualsearch/contextual_search_context.cc b/chrome/browser/android/contextualsearch/contextual_search_context.cc
index 9f808907c74a4bf5cb258bf405e80400b854cc63..36216ae73f0cbbb392b9d1aec140446dd68b12ad 100644
--- a/chrome/browser/android/contextualsearch/contextual_search_context.cc
+++ b/chrome/browser/android/contextualsearch/contextual_search_context.cc
@@ -9,18 +9,11 @@
const bool use_resolved_search_term,
const GURL& page_url,
const std::string& encoding)
- : use_resolved_search_term(use_resolved_search_term),
+ : selected_text(selected_text),
+ use_resolved_search_term(use_resolved_search_term),
page_url(page_url),
- encoding(encoding),
- selected_text(selected_text) {}
-
-ContextualSearchContext::ContextualSearchContext(
- const bool use_resolved_search_term,
- const GURL& page_url,
- const std::string& encoding)
- : use_resolved_search_term(use_resolved_search_term),
- page_url(page_url),
- encoding(encoding) {}
+ encoding(encoding) {
+}
ContextualSearchContext::~ContextualSearchContext() {
}

Powered by Google App Engine
This is Rietveld 408576698