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

Unified Diff: Source/core/html/PluginDocument.cpp

Issue 14495011: Revert "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
« no previous file with comments | « Source/WebKit/chromium/tests/WebFrameTest.cpp ('k') | Source/core/loader/DocumentLoader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/PluginDocument.cpp
diff --git a/Source/core/html/PluginDocument.cpp b/Source/core/html/PluginDocument.cpp
index ae947adee2f8b1650e1f85370972c72069729f53..06b42f27027a0360c54308d695e7da2a884db7ba 100644
--- a/Source/core/html/PluginDocument.cpp
+++ b/Source/core/html/PluginDocument.cpp
@@ -179,7 +179,7 @@ void PluginDocument::cancelManualPluginLoad()
return;
DocumentLoader* documentLoader = frame()->loader()->activeDocumentLoader();
- documentLoader->cancelMainResourceLoad(ResourceError::cancelledError(documentLoader->request().url()));
+ documentLoader->cancelMainResourceLoad(frame()->loader()->cancelledError(documentLoader->request()));
setShouldLoadPluginManually(false);
}
« no previous file with comments | « Source/WebKit/chromium/tests/WebFrameTest.cpp ('k') | Source/core/loader/DocumentLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698