Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(440)

Unified Diff: third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698