From: Cheng Zhao Date: Tue, 23 Jun 2015 14:11:59 +0000 (+0800) Subject: Clean up coffee files X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6d9ca4f52bf610eb108d2e7b790c63f664666724;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git Clean up coffee files --- diff --git a/atom/browser/api/lib/browser-window.coffee b/atom/browser/api/lib/browser-window.coffee index fc4667a..aa27176 100644 --- a/atom/browser/api/lib/browser-window.coffee +++ b/atom/browser/api/lib/browser-window.coffee @@ -79,8 +79,6 @@ BrowserWindow::getPageTitle = -> @webContents.getTitle() BrowserWindow::isLoading = -> @webContents.isLoading() BrowserWindow::isWaitingForResponse = -> @webContents.isWaitingForResponse() BrowserWindow::stop = -> @webContents.stop() -BrowserWindow::getRoutingId = -> @webContents.getRoutingId() -BrowserWindow::getProcessId = -> @webContents.getProcessId() BrowserWindow::isCrashed = -> @webContents.isCrashed() BrowserWindow::executeJavaScriptInDevTools = (code) -> @devToolsWebContents?.executeJavaScript code BrowserWindow::openDevTools = -> @webContents.openDevTools.apply @webContents, arguments diff --git a/atom/browser/api/lib/web-contents.coffee b/atom/browser/api/lib/web-contents.coffee index 35c11df..c07c541 100644 --- a/atom/browser/api/lib/web-contents.coffee +++ b/atom/browser/api/lib/web-contents.coffee @@ -79,9 +79,7 @@ wrapWebContents = (webContents) -> if options.printBackgrounds printingSetting.shouldPrintBackgrounds = options.printBackground - webContents._printToPDF printingSetting, callback - - webContents + @_printToPDF printingSetting, callback binding._setWrapWebContents wrapWebContents process.once 'exit', binding._clearWrapWebContents