static PassRefPtrWillBeRawPtr<SinkDocumentParser> create(SinkDocument* document) { return adoptRefWillBeNoop(new SinkDocumentParser(document)); }
static PassRefPtrWillBeRawPtr<FrontendMenuProvider> create(DevToolsHost* devtoolsHost, ScriptValue devtoolsApiObject, const Vector<ContextMenuItem>& items) { return adoptRefWillBeNoop(new FrontendMenuProvider(devtoolsHost, devtoolsApiObject, items)); }
PassRefPtrWillBeRawPtr<WebGLVertexArrayObjectOES> WebGLVertexArrayObjectOES::create(WebGLRenderingContextBase* ctx, VaoType type) { return adoptRefWillBeNoop(new WebGLVertexArrayObjectOES(ctx, type)); }
PassRefPtrWillBeRawPtr<WebGLDrawBuffers> WebGLDrawBuffers::create(WebGLRenderingContextBase* context) { return adoptRefWillBeNoop(new WebGLDrawBuffers(context)); }
PassRefPtrWillBeRawPtr<IDBDatabaseCallbacks> IDBDatabaseCallbacks::create() { return adoptRefWillBeNoop(new IDBDatabaseCallbacks()); }
static PassRefPtrWillBeRawPtr<CSSCalcPrimitiveValue> create(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> value, bool isInteger) { return adoptRefWillBeNoop(new CSSCalcPrimitiveValue(value, isInteger)); }
PassRefPtrWillBeRawPtr<CSSCalcValue> CSSCalcValue::create(PassRefPtrWillBeRawPtr<CSSCalcExpressionNode> expression, ValueRange range) { return adoptRefWillBeNoop(new CSSCalcValue(expression, range)); }
static PassRefPtrWillBeRawPtr<LoadFontPromiseResolver> create(FontFaceArray faces, ScriptState* scriptState) { return adoptRefWillBeNoop(new LoadFontPromiseResolver(faces, scriptState)); }
PassRefPtrWillBeRawPtr<Text> Text::createEditingText(Document& document, const String& data) { return adoptRefWillBeNoop(new Text(document, data, CreateEditingText)); }
static PassRefPtrWillBeRawPtr<PopupMenuCSSFontSelector> create(Document* document, CSSFontSelector* ownerFontSelector) { return adoptRefWillBeNoop(new PopupMenuCSSFontSelector(document, ownerFontSelector)); }
PassRefPtrWillBeRawPtr<PopupMenuImpl> PopupMenuImpl::create(ChromeClientImpl* chromeClient, PopupMenuClient* client) { return adoptRefWillBeNoop(new PopupMenuImpl(chromeClient, client)); }
PassRefPtrWillBeRawPtr<InstallEvent> InstallEvent::create(const AtomicString& type, const EventInit& initializer, PassRefPtr<WaitUntilObserver> observer) { return adoptRefWillBeNoop(new InstallEvent(type, initializer, observer)); }
PassRefPtrWillBeRawPtr<InstallEvent> InstallEvent::create() { return adoptRefWillBeNoop(new InstallEvent()); }
PassRefPtrWillBeRawPtr<Keyframe> StringKeyframe::clone() const { return adoptRefWillBeNoop(new StringKeyframe(*this)); }
PassRefPtrWillBeRawPtr<AudioProcessingEvent> AudioProcessingEvent::create(PassRefPtr<AudioBuffer> inputBuffer, PassRefPtr<AudioBuffer> outputBuffer, double playbackTime) { return adoptRefWillBeNoop(new AudioProcessingEvent(inputBuffer, outputBuffer, playbackTime)); }
PassRefPtrWillBeRawPtr<IDBCursor> IDBCursor::create(PassOwnPtr<blink::WebIDBCursor> backend, WebIDBCursor::Direction direction, IDBRequest* request, IDBAny* source, IDBTransaction* transaction) { return adoptRefWillBeNoop(new IDBCursor(backend, direction, request, source, transaction)); }
PassRefPtrWillBeRawPtr<Scrollbar> Scrollbar::create(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarControlSize size) { return adoptRefWillBeNoop(new Scrollbar(scrollableArea, orientation, size)); }
PassRefPtrWillBeRawPtr<DragEventDispatchMediator> DragEventDispatchMediator::create(PassRefPtrWillBeRawPtr<DragEvent> dragEvent) { return adoptRefWillBeNoop(new DragEventDispatchMediator(dragEvent)); }
static PassRefPtrWillBeRawPtr<CSSCalcPrimitiveValue> create(double value, CSSPrimitiveValue::UnitType type, bool isInteger) { if (std::isnan(value) || std::isinf(value)) return nullptr; return adoptRefWillBeNoop(new CSSCalcPrimitiveValue(CSSPrimitiveValue::create(value, type).get(), isInteger)); }
PassRefPtrWillBeRawPtr<CSSImageSetValue> CSSImageSetValue::cloneForCSSOM() const { return adoptRefWillBeNoop(new CSSImageSetValue(*this)); }
static PassRefPtrWillBeRawPtr<SVGCurrentTranslateTearOff> create(SVGSVGElement* contextElement) { return adoptRefWillBeNoop(new SVGCurrentTranslateTearOff(contextElement)); }
PassRefPtrWillBeRawPtr<InputType> NumberInputType::create(HTMLInputElement& element) { return adoptRefWillBeNoop(new NumberInputType(element)); }
PassRefPtrWillBeRawPtr<OESElementIndexUint> OESElementIndexUint::create(WebGLRenderingContextBase* context) { return adoptRefWillBeNoop(new OESElementIndexUint(context)); }
PassRefPtrWillBeRawPtr<FEImage> FEImage::createWithImage(Filter* filter, PassRefPtr<Image> image, PassRefPtrWillBeRawPtr<SVGPreserveAspectRatio> preserveAspectRatio) { return adoptRefWillBeNoop(new FEImage(filter, image, preserveAspectRatio)); }
PassRefPtrWillBeRawPtr<FontFace> FontFace::create(ExecutionContext* context, const AtomicString& family, PassRefPtr<DOMArrayBuffer> source, const FontFaceDescriptors& descriptors) { RefPtrWillBeRawPtr<FontFace> fontFace = adoptRefWillBeNoop(new FontFace(context, family, descriptors)); fontFace->initCSSFontFace(static_cast<const unsigned char*>(source->data()), source->byteLength()); return fontFace.release(); }
PassRefPtrWillBeRawPtr<FEImage> FEImage::createWithIRIReference(Filter* filter, TreeScope& treeScope, const String& href, PassRefPtrWillBeRawPtr<SVGPreserveAspectRatio> preserveAspectRatio) { return adoptRefWillBeNoop(new FEImage(filter, treeScope, href, preserveAspectRatio)); }
PassRefPtrWillBeRawPtr<FetchRequestData> FetchRequestData::create() { return adoptRefWillBeNoop(new FetchRequestData()); }
PassRefPtrWillBeRawPtr<AudioProcessingEvent> AudioProcessingEvent::create() { return adoptRefWillBeNoop(new AudioProcessingEvent); }
PassRefPtrWillBeRawPtr<DOMWindowCSS> DOMWindowCSS::create() { return adoptRefWillBeNoop(new DOMWindowCSS()); }
PassRefPtrWillBeRawPtr<HTMLOptionsCollection> HTMLOptionsCollection::create(ContainerNode& select, CollectionType) { return adoptRefWillBeNoop(new HTMLOptionsCollection(select)); }