Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index 7d74c1cb827a0993c172a08ae93c9d5e88a1208b..a0e73b740e3734d25b8b9f33ad41cfe2ea7cacbb 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -85,13 +85,11 @@ |
#include "core/html/HTMLImageElement.h" |
#include "core/html/HTMLInputElement.h" |
#include "core/html/HTMLMediaElement.h" |
-#include "core/html/HTMLPlugInElement.h" |
#include "core/html/HTMLSelectElement.h" |
#include "core/html/HTMLTextAreaElement.h" |
#include "core/html/canvas/CanvasFontCache.h" |
#include "core/html/canvas/CanvasRenderingContext.h" |
#include "core/html/forms/FormController.h" |
-#include "core/html/shadow/PluginPlaceholderElement.h" |
#include "core/html/shadow/ShadowElementNames.h" |
#include "core/html/shadow/TextControlInnerElements.h" |
#include "core/input/EventHandler.h" |
@@ -116,8 +114,6 @@ |
#include "core/page/Page.h" |
#include "core/page/PrintContext.h" |
#include "core/paint/DeprecatedPaintLayer.h" |
-#include "core/plugins/testing/DictionaryPluginPlaceholder.h" |
-#include "core/plugins/testing/DocumentFragmentPluginPlaceholder.h" |
#include "core/svg/SVGImageElement.h" |
#include "core/testing/DictionaryTest.h" |
#include "core/testing/GCObservation.h" |
@@ -2394,24 +2390,6 @@ ClientRect* Internals::boundsInViewportSpace(Element* element) |
return ClientRect::create(element->boundsInViewportSpace()); |
} |
-void Internals::forcePluginPlaceholder(HTMLElement* element, PassRefPtrWillBeRawPtr<DocumentFragment> fragment, ExceptionState& exceptionState) |
-{ |
- if (!element->isPluginElement()) { |
- exceptionState.throwDOMException(InvalidNodeTypeError, "The element provided is not a plugin."); |
- return; |
- } |
- toHTMLPlugInElement(element)->setPlaceholder(DocumentFragmentPluginPlaceholder::create(fragment)); |
-} |
- |
-void Internals::forcePluginPlaceholder(HTMLElement* element, const PluginPlaceholderOptions& options, ExceptionState& exceptionState) |
-{ |
- if (!element->isPluginElement()) { |
- exceptionState.throwDOMException(InvalidNodeTypeError, "The element provided is not a plugin."); |
- return; |
- } |
- toHTMLPlugInElement(element)->setPlaceholder(DictionaryPluginPlaceholder::create(element->document(), options)); |
-} |
- |
void Internals::forceBlinkGCWithoutV8GC() |
{ |
ThreadState::current()->setGCState(ThreadState::FullGCScheduled); |