Index: components/printing/renderer/print_web_view_helper.cc |
diff --git a/components/printing/renderer/print_web_view_helper.cc b/components/printing/renderer/print_web_view_helper.cc |
index d315efae36af809739af88afc543864211135365..568a26ed3461873c9517a5552e4025887fb13a8d 100644 |
--- a/components/printing/renderer/print_web_view_helper.cc |
+++ b/components/printing/renderer/print_web_view_helper.cc |
@@ -712,7 +712,6 @@ void PrepareFrameAndViewForPrint::CopySelection( |
// on the page). |
WebPreferences prefs = preferences; |
prefs.javascript_enabled = false; |
- prefs.java_enabled = false; |
blink::WebView* web_view = blink::WebView::create(this); |
owns_web_view_ = true; |