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

Unified Diff: ios/chrome/browser/ui/reader_mode/reader_mode_checker.mm

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 years, 9 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: ios/chrome/browser/ui/reader_mode/reader_mode_checker.mm
diff --git a/ios/chrome/browser/ui/reader_mode/reader_mode_checker.mm b/ios/chrome/browser/ui/reader_mode/reader_mode_checker.mm
index d2ccabaaa908727bd54b93db76b0463697e8d44d..8c207d6ca7da7b37249a9866cdd8fd7dfea9407a 100644
--- a/ios/chrome/browser/ui/reader_mode/reader_mode_checker.mm
+++ b/ios/chrome/browser/ui/reader_mode/reader_mode_checker.mm
@@ -118,7 +118,7 @@ void ReaderModeChecker::CheckIsDistillableDetector(
}
const dom_distiller::DistillablePageDetector* detector =
dom_distiller::DistillablePageDetector::GetDefault();
- const base::StringValue value(base::SysNSStringToUTF8(result));
+ const base::Value value(base::SysNSStringToUTF8(result));
std::vector<double> features(
dom_distiller::CalculateDerivedFeaturesFromJSON(&value));
if (detector->Classify(features)) {

Powered by Google App Engine
This is Rietveld 408576698