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

Unified Diff: Source/WebKit/chromium/tests/AssociatedURLLoaderTest.cpp

Issue 14264012: Create errors (especially cancellation errors) internally to WebCore, rather (Closed) Base URL: svn://svn.chromium.org/blink/trunk/
Patch Set: Created 7 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
Index: Source/WebKit/chromium/tests/AssociatedURLLoaderTest.cpp
===================================================================
--- Source/WebKit/chromium/tests/AssociatedURLLoaderTest.cpp (revision 148844)
+++ Source/WebKit/chromium/tests/AssociatedURLLoaderTest.cpp (working copy)
@@ -54,15 +54,6 @@
namespace {
class TestWebFrameClient : public WebFrameClient {
- // Return a non-null cancellation error so the WebFrame loaders can shut down without asserting.
- // Make 'reason' non-zero so WebURLError isn't considered null.
- WebURLError cancelledError(WebFrame*, const WebURLRequest& request)
- {
- WebURLError error;
- error.reason = 1;
- error.unreachableURL = request.url();
- return error;
- }
};
class AssociatedURLLoaderTest : public testing::Test,

Powered by Google App Engine
This is Rietveld 408576698