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

Unified Diff: third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp

Issue 2842253002: Move ReportLocalLoadFailed to ExecutionContext (Closed)
Patch Set: Created 3 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: third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
index 3665ea9f8012823b4c414f5cd681d9e21f9d00fc..8b7b5adb547fc42efb903cdef835fb9133696321 100644
--- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
@@ -655,7 +655,7 @@ bool HTMLPlugInElement::AllowedToLoadObject(const KURL& url,
return false;
if (!GetDocument().GetSecurityOrigin()->CanDisplay(url)) {
- FrameLoader::ReportLocalLoadFailed(frame, url.GetString());
+ GetDocument().ReportLocalLoadFailed(url.GetString());
return false;
}

Powered by Google App Engine
This is Rietveld 408576698