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

Unified Diff: content/child/blink_platform_impl.cc

Issue 958083002: PlzNavigate: Show error pages when the navigation failed before commit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@support-data-urls
Patch Set: Updated test Created 5 years, 8 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
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_impl.cc ('k') | content/child/web_url_loader_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/blink_platform_impl.cc
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
index fe029a0af866703ab4766844aeb566fbcfd0094f..cbeb006273f2812f1e677b4844344c2183f8bdf8 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -43,6 +43,7 @@
#include "content/child/thread_safe_sender.h"
#include "content/child/web_discardable_memory_impl.h"
#include "content/child/web_url_loader_impl.h"
+#include "content/child/web_url_request_util.h"
#include "content/child/websocket_bridge.h"
#include "content/child/webthread_impl.h"
#include "content/child/worker_task_runner.h"
@@ -494,7 +495,7 @@ WebData BlinkPlatformImpl::parseDataURL(const WebURL& url,
WebURLError BlinkPlatformImpl::cancelledError(
const WebURL& unreachableURL) const {
- return WebURLLoaderImpl::CreateError(unreachableURL, false, net::ERR_ABORTED);
+ return CreateWebURLError(unreachableURL, false, net::ERR_ABORTED);
}
bool BlinkPlatformImpl::isReservedIPAddress(
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_impl.cc ('k') | content/child/web_url_loader_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698