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

Unified Diff: components/dom_distiller/core/distiller_page.cc

Issue 2539363004: Make base::Value::TYPE a scoped enum. (Closed)
Patch Set: Rebase Created 4 years 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: components/dom_distiller/core/distiller_page.cc
diff --git a/components/dom_distiller/core/distiller_page.cc b/components/dom_distiller/core/distiller_page.cc
index fb115d8e8f78e84ac6cb8c36010595e846d66038..7e66e453dc2bb28b427f9586f612a7e936e0a75d 100644
--- a/components/dom_distiller/core/distiller_page.cc
+++ b/components/dom_distiller/core/distiller_page.cc
@@ -94,7 +94,7 @@ void DistillerPage::OnDistillationDone(const GURL& page_url,
std::unique_ptr<dom_distiller::proto::DomDistillerResult> distiller_result(
new dom_distiller::proto::DomDistillerResult());
bool found_content;
- if (value->IsType(base::Value::TYPE_NULL)) {
+ if (value->IsType(base::Value::Type::NONE)) {
found_content = false;
} else {
found_content =
« no previous file with comments | « components/content_settings/core/browser/website_settings_info.cc ('k') | components/dom_distiller/ios/distiller_page_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698