| 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 e92d21952d6b71c5b3bbb59eb6d91c3e71ec8c82..56d4686bc7154651f8abb30dc63c6507cbf9abf0 100644
|
| --- a/third_party/WebKit/Source/core/html/PluginDocument.cpp
|
| +++ b/third_party/WebKit/Source/core/html/PluginDocument.cpp
|
| @@ -45,9 +45,9 @@ using namespace HTMLNames;
|
| // FIXME: Share more code with MediaDocumentParser.
|
| class PluginDocumentParser : public RawDataDocumentParser {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<PluginDocumentParser> create(PluginDocument* document)
|
| + static RawPtr<PluginDocumentParser> create(PluginDocument* document)
|
| {
|
| - return adoptRefWillBeNoop(new PluginDocumentParser(document));
|
| + return (new PluginDocumentParser(document));
|
| }
|
|
|
| DEFINE_INLINE_VIRTUAL_TRACE()
|
| @@ -71,7 +71,7 @@ private:
|
|
|
| PluginView* pluginView() const;
|
|
|
| - RefPtrWillBeMember<HTMLEmbedElement> m_embedElement;
|
| + Member<HTMLEmbedElement> m_embedElement;
|
| };
|
|
|
| void PluginDocumentParser::createDocumentStructure()
|
| @@ -89,12 +89,12 @@ void PluginDocumentParser::createDocumentStructure()
|
| if (!frame->settings() || !frame->loader().allowPlugins(NotAboutToInstantiatePlugin))
|
| return;
|
|
|
| - RefPtrWillBeRawPtr<HTMLHtmlElement> rootElement = HTMLHtmlElement::create(*document());
|
| + RawPtr<HTMLHtmlElement> rootElement = HTMLHtmlElement::create(*document());
|
| rootElement->insertedByParser();
|
| document()->appendChild(rootElement);
|
| frame->loader().dispatchDocumentElementAvailable();
|
|
|
| - RefPtrWillBeRawPtr<HTMLBodyElement> body = HTMLBodyElement::create(*document());
|
| + RawPtr<HTMLBodyElement> body = HTMLBodyElement::create(*document());
|
| body->setAttribute(styleAttr, "background-color: rgb(38,38,38); height: 100%; width: 100%; overflow: hidden; margin: 0");
|
| rootElement->appendChild(body);
|
|
|
| @@ -154,7 +154,7 @@ PluginDocument::PluginDocument(const DocumentInit& initializer)
|
| lockCompatibilityMode();
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<DocumentParser> PluginDocument::createParser()
|
| +RawPtr<DocumentParser> PluginDocument::createParser()
|
| {
|
| return PluginDocumentParser::create(this);
|
| }
|
|
|