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

Unified Diff: trunk/src/content/renderer/pepper/pepper_url_loader_host.cc

Issue 321933002: Revert 274770 "Ensure that in-process plugins can't destroy them..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 6 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 | « trunk/src/content/renderer/pepper/pepper_plugin_instance_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/content/renderer/pepper/pepper_url_loader_host.cc
===================================================================
--- trunk/src/content/renderer/pepper/pepper_url_loader_host.cc (revision 275860)
+++ trunk/src/content/renderer/pepper/pepper_url_loader_host.cc (working copy)
@@ -361,11 +361,8 @@
void PepperURLLoaderHost::Close() {
if (loader_.get())
loader_->cancel();
- else if (main_document_loader_) {
- blink::WebFrame* frame = GetFrame();
- if (frame)
- frame->stopLoading();
- }
+ else if (main_document_loader_)
+ GetFrame()->stopLoading();
}
blink::WebLocalFrame* PepperURLLoaderHost::GetFrame() {
« no previous file with comments | « trunk/src/content/renderer/pepper/pepper_plugin_instance_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698