Index: Source/core/html/PluginDocument.cpp |
diff --git a/Source/core/html/PluginDocument.cpp b/Source/core/html/PluginDocument.cpp |
index c30a6873f5a67c05a02d6c7f9b342e63422b27f2..bad2dd21b07d8da64fab25ee3e6be80930b0a460 100644 |
--- a/Source/core/html/PluginDocument.cpp |
+++ b/Source/core/html/PluginDocument.cpp |
@@ -182,16 +182,4 @@ void PluginDocument::detach(const AttachContext& context) |
HTMLDocument::detach(context); |
} |
-void PluginDocument::cancelManualPluginLoad() |
-{ |
- // PluginDocument::cancelManualPluginLoad should only be called once, but there are issues |
- // with how many times we call beforeload on object elements. <rdar://problem/8441094>. |
- if (!shouldLoadPluginManually()) |
- return; |
- |
- DocumentLoader* documentLoader = frame()->loader().documentLoader(); |
- documentLoader->cancelMainResourceLoad(ResourceError::cancelledError(documentLoader->request().url())); |
- setShouldLoadPluginManually(false); |
-} |
- |
} |