Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(285)

Unified Diff: Source/WebKit/chromium/src/FrameLoaderClientImpl.cpp

Issue 7521007: Merge 91797 - Add support for download='filename' attribute in anchors. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/WebKit/chromium/src/FrameLoaderClientImpl.cpp
===================================================================
--- Source/WebKit/chromium/src/FrameLoaderClientImpl.cpp (revision 91866)
+++ Source/WebKit/chromium/src/FrameLoaderClientImpl.cpp (working copy)
@@ -944,7 +944,7 @@
PolicyAction policyAction = PolicyIgnore;
// It is valid for this function to be invoked in code paths where the
- // the webview is closed.
+ // webview is closed.
// The null check here is to fix a crash that seems strange
// (see - https://bugs.webkit.org/show_bug.cgi?id=23554).
if (m_webFrame->client() && !request.url().isNull()) {
@@ -1073,7 +1073,7 @@
// Creates a new connection and begins downloading from that (contrast this
// with |download|).
-void FrameLoaderClientImpl::startDownload(const ResourceRequest& request)
+void FrameLoaderClientImpl::startDownload(const ResourceRequest& request, const String& /* suggestedName */)
{
if (m_webFrame->client()) {
WrappedResourceRequest webreq(request);
« no previous file with comments | « Source/WebKit/chromium/src/FrameLoaderClientImpl.h ('k') | Source/WebKit/efl/WebCoreSupport/FrameLoaderClientEfl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698