Index: chrome/renderer/chrome_content_renderer_client.cc |
diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc |
index 3d815b12700a504dff8e384297d232fe6a98bf1a..7c7058252afc4595bbf294886fe8347a2aba75d2 100644 |
--- a/chrome/renderer/chrome_content_renderer_client.cc |
+++ b/chrome/renderer/chrome_content_renderer_client.cc |
@@ -58,6 +58,7 @@ |
#include "components/autofill/content/renderer/password_generation_agent.h" |
#include "components/content_settings/core/common/content_settings_pattern.h" |
#include "components/data_reduction_proxy/core/common/data_reduction_proxy_headers.h" |
+#include "components/dom_distiller/content/renderer/distillability_agent.h" |
#include "components/dom_distiller/content/renderer/distiller_js_render_frame_observer.h" |
#include "components/dom_distiller/core/url_constants.h" |
#include "components/nacl/renderer/ppb_nacl_private.h" |
@@ -525,6 +526,10 @@ void ChromeContentRendererClient::RenderFrameCreated( |
new dom_distiller::DistillerJsRenderFrameObserver( |
render_frame, chrome::ISOLATED_WORLD_ID_CHROME_INTERNAL); |
+ // Create DistillabilityAgent to send distillability updates to |
+ // DistillabilityDriver in the browser process. |
+ new dom_distiller::DistillabilityAgent(render_frame); |
+ |
PasswordAutofillAgent* password_autofill_agent = |
new PasswordAutofillAgent(render_frame); |
PasswordGenerationAgent* password_generation_agent = |