| Index: third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
|
| index c856856417e4aebab1cce45e6c9c79053095bd63..d69f5428597c652cc48649be410ca5e6809378dd 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
|
| @@ -166,7 +166,7 @@ void HTMLPlugInElement::attach(const AttachContext& context)
|
|
|
| void HTMLPlugInElement::updateWidget()
|
| {
|
| - RefPtrWillBeRawPtr<HTMLPlugInElement> protector(this);
|
| + RawPtr<HTMLPlugInElement> protector(this);
|
| updateWidgetInternal();
|
| if (m_isDelayingLoadEvent) {
|
| m_isDelayingLoadEvent = false;
|
| @@ -365,7 +365,7 @@ void HTMLPlugInElement::defaultEventHandler(Event* event)
|
| if (LayoutEmbeddedItem(toLayoutEmbeddedObject(r)).showsUnavailablePluginIndicator())
|
| return;
|
| }
|
| - RefPtrWillBeRawPtr<Widget> widget = toLayoutPart(r)->widget();
|
| + RawPtr<Widget> widget = toLayoutPart(r)->widget();
|
| if (!widget)
|
| return;
|
| widget->handleEvent(event);
|
| @@ -516,7 +516,7 @@ bool HTMLPlugInElement::loadPlugin(const KURL& url, const String& mimeType, cons
|
| } else {
|
| bool loadManually = document().isPluginDocument() && !document().containsPlugins();
|
| FrameLoaderClient::DetachedPluginPolicy policy = requireLayoutObject ? FrameLoaderClient::FailOnDetachedPlugin : FrameLoaderClient::AllowDetachedPlugin;
|
| - RefPtrWillBeRawPtr<Widget> widget = frame->loader().client()->createPlugin(this, url, paramNames, paramValues, mimeType, loadManually, policy);
|
| + RawPtr<Widget> widget = frame->loader().client()->createPlugin(this, url, paramNames, paramValues, mimeType, loadManually, policy);
|
| if (!widget) {
|
| if (!layoutItem.isNull() && !layoutItem.showsUnavailablePluginIndicator())
|
| layoutItem.setPluginUnavailabilityReason(LayoutEmbeddedObject::PluginMissing);
|
|
|