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 213e82fd671d09cfb1f851921b5844a75f129d8c..870e311ac06adc527e5c647882bd4da03740f7e0 100644 |
--- a/components/dom_distiller/ios/distiller_page_ios.mm |
+++ b/components/dom_distiller/ios/distiller_page_ios.mm |
@@ -49,16 +49,16 @@ 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]))); |
+ 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(); |