Index: android_webview/renderer/aw_content_renderer_client.cc |
diff --git a/android_webview/renderer/aw_content_renderer_client.cc b/android_webview/renderer/aw_content_renderer_client.cc |
index 7428b1d6ad4c8f8ff32a6dae65ead07aea23c9db..4a9263d51931fa47fea7587cc6662c74b65c2926 100644 |
--- a/android_webview/renderer/aw_content_renderer_client.cc |
+++ b/android_webview/renderer/aw_content_renderer_client.cc |
@@ -8,6 +8,7 @@ |
#include "android_webview/common/url_constants.h" |
#include "android_webview/renderer/aw_key_systems.h" |
#include "android_webview/renderer/aw_render_view_ext.h" |
+#include "android_webview/renderer/print_web_view_helper.h" |
#include "base/message_loop/message_loop.h" |
#include "base/strings/utf_string_conversions.h" |
#include "components/autofill/content/renderer/autofill_agent.h" |
@@ -52,6 +53,7 @@ void AwContentRendererClient::RenderViewCreated( |
content::RenderView* render_view) { |
AwRenderViewExt::RenderViewCreated(render_view); |
+ new printing::PrintWebViewHelper(render_view); |
// TODO(sgurun) do not create a password autofill agent (change |
// autofill agent to store a weakptr). |
autofill::PasswordAutofillAgent* password_autofill_agent = |