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

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

Issue 1426923007: Remove PluginLoadObserver and related logic, it was only used for NPAPI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/PluginDocument.cpp
diff --git a/third_party/WebKit/Source/core/html/PluginDocument.cpp b/third_party/WebKit/Source/core/html/PluginDocument.cpp
index dc40f1c589e0c2ed4ec680d099a92f69a9229c59..b10bfbf81946b64efe8a9084a4be079174e91fb4 100644
--- a/third_party/WebKit/Source/core/html/PluginDocument.cpp
+++ b/third_party/WebKit/Source/core/html/PluginDocument.cpp
@@ -135,14 +135,7 @@ void PluginDocumentParser::appendBytes(const char* data, size_t length)
void PluginDocumentParser::finish()
{
- if (PluginView* view = pluginView()) {
- const ResourceError& error = document()->loader()->mainDocumentError();
- if (error.isNull())
- view->didFinishLoading();
- else
- view->didFailLoading(error);
- m_embedElement = nullptr;
- }
+ m_embedElement = nullptr;
RawDataDocumentParser::finish();
}
« no previous file with comments | « third_party/WebKit/ManualTests/NPN_Invoke/test.html ('k') | third_party/WebKit/Source/core/loader/DocumentLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698