Index: components/dom_distiller/ios/distiller_page_ios.mm |
diff --git a/components/dom_distiller/ios/distiller_page_ios.mm b/components/dom_distiller/ios/distiller_page_ios.mm |
index f3eed985dbad8059799632732ec635f3668c53c7..4773be550d69ed4dd1a3d75941a6588e815f6aba 100644 |
--- a/components/dom_distiller/ios/distiller_page_ios.mm |
+++ b/components/dom_distiller/ios/distiller_page_ios.mm |
@@ -55,16 +55,15 @@ std::unique_ptr<base::Value> ValueResultFromScriptResult(id wk_result, |
} else if (result_type == CFNumberGetTypeID()) { |
// Different implementation is here. |
if ([wk_result intValue] != [wk_result doubleValue]) { |
- result.reset(new base::FundamentalValue([wk_result doubleValue])); |
+ result.reset(new base::Value([wk_result doubleValue])); |
DCHECK(result->IsType(base::Value::Type::DOUBLE)); |
} else { |
- result.reset(new base::FundamentalValue([wk_result intValue])); |
+ result.reset(new base::Value([wk_result intValue])); |
DCHECK(result->IsType(base::Value::Type::INTEGER)); |
} |
// End of different implementation. |
} else if (result_type == CFBooleanGetTypeID()) { |
- result.reset( |
- new base::FundamentalValue(static_cast<bool>([wk_result boolValue]))); |
+ result.reset(new base::Value(static_cast<bool>([wk_result boolValue]))); |
DCHECK(result->IsType(base::Value::Type::BOOLEAN)); |
} else if (result_type == CFNullGetTypeID()) { |
result = base::Value::CreateNullValue(); |