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 8eb6585a2acfc22120ec29a55d995a128e36ed81..74e6f1c6246ef2d5144923df0cb07bc434936902 100644 |
--- a/components/dom_distiller/core/distiller_page.cc |
+++ b/components/dom_distiller/core/distiller_page.cc |
@@ -40,7 +40,7 @@ std::string GetDistillerScriptWithOptions( |
scoped_ptr<base::Value> options_value( |
dom_distiller::proto::json::DomDistillerOptions::WriteToValue(options)); |
std::string options_json; |
- if (!base::JSONWriter::Write(options_value.get(), &options_json)) { |
+ if (!base::JSONWriter::Write(*options_value, &options_json)) { |
NOTREACHED(); |
} |
size_t options_offset = script.find(kOptionsPlaceholder); |