| Index: components/dom_distiller/ios/distiller_page_ios.mm
|
| diff --git a/components/dom_distiller/ios/distiller_page_ios.mm b/components/dom_distiller/ios/distiller_page_ios.mm
|
| index 8f2e29ddb1392982f24430fa4d675a1568c8d1a8..b0e9a6e945108f239b36a468b5b93516b0f0f590 100644
|
| --- a/components/dom_distiller/ios/distiller_page_ios.mm
|
| +++ b/components/dom_distiller/ios/distiller_page_ios.mm
|
| @@ -56,14 +56,6 @@ bool DistillerPageIOS::StringifyOutput() {
|
| return true;
|
| }
|
|
|
| -bool DistillerPageIOS::CreateNewContext() {
|
| - // UIWebView's JavaScript engine has a bug that causes crashes when
|
| - // creating a separate window object, so allow the script to run directly
|
| - // in the window until a better solution is created.
|
| - // TODO(kkhorimoto): investigate whether this is necessary for WKWebView.
|
| - return false;
|
| -}
|
| -
|
| void DistillerPageIOS::DistillPageImpl(const GURL& url,
|
| const std::string& script) {
|
| if (!url.is_valid() || !script.length())
|
|
|