| 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 e6a69bc8e321bb99769291a911d6fb780830fb39..67d92fd6084fac1b3f109797eef903cdf6b5f41f 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;
|
| @@ -361,7 +361,7 @@ void HTMLPlugInElement::defaultEventHandler(Event* event)
|
| if (toLayoutEmbeddedObject(r)->showsUnavailablePluginIndicator())
|
| return;
|
| }
|
| - RefPtrWillBeRawPtr<Widget> widget = toLayoutPart(r)->widget();
|
| + RawPtr<Widget> widget = toLayoutPart(r)->widget();
|
| if (!widget)
|
| return;
|
| widget->handleEvent(event);
|
| @@ -509,7 +509,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 (layoutObject && !layoutObject->showsUnavailablePluginIndicator())
|
| layoutObject->setPluginUnavailabilityReason(LayoutEmbeddedObject::PluginMissing);
|
|
|