Index: components/dom_distiller/core/fake_distiller.cc |
diff --git a/components/dom_distiller/core/fake_distiller.cc b/components/dom_distiller/core/fake_distiller.cc |
index 3f1f976f653f3818ecace3fa45a1447548a025c3..43d63299c6a9d84af8a84c8bec7dca4935757e4a 100644 |
--- a/components/dom_distiller/core/fake_distiller.cc |
+++ b/components/dom_distiller/core/fake_distiller.cc |
@@ -21,7 +21,8 @@ FakeDistiller::FakeDistiller(bool execute_callback) : |
FakeDistiller::~FakeDistiller() { Die(); } |
-void FakeDistiller::RunDistillerCallback(scoped_ptr<DistilledPageProto> proto) { |
+void FakeDistiller::RunDistillerCallback( |
+ scoped_ptr<DistilledArticleProto> proto) { |
base::MessageLoop::current()->PostTask( |
FROM_HERE, |
base::Bind(&FakeDistiller::RunDistillerCallbackInternal, |
@@ -30,7 +31,7 @@ void FakeDistiller::RunDistillerCallback(scoped_ptr<DistilledPageProto> proto) { |
} |
void FakeDistiller::RunDistillerCallbackInternal( |
- scoped_ptr<DistilledPageProto> proto) { |
+ scoped_ptr<DistilledArticleProto> proto) { |
EXPECT_FALSE(callback_.is_null()); |
callback_.Run(proto.Pass()); |
callback_.Reset(); |