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

Unified Diff: third_party/WebKit/Source/core/html/HTMLEmbedElement.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/HTMLEmbedElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp b/third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp
index 5f38ed4364571ccbb4eb47c26102959ebc4b61f2..d8967dc77346bfd0fd3b728b5a02640d60f61f12 100644
--- a/third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp
@@ -44,9 +44,9 @@ inline HTMLEmbedElement::HTMLEmbedElement(Document& document, bool createdByPars
{
}
-PassRefPtrWillBeRawPtr<HTMLEmbedElement> HTMLEmbedElement::create(Document& document, bool createdByParser)
+RawPtr<HTMLEmbedElement> HTMLEmbedElement::create(Document& document, bool createdByParser)
{
- RefPtrWillBeRawPtr<HTMLEmbedElement> element = adoptRefWillBeNoop(new HTMLEmbedElement(document, createdByParser));
+ RawPtr<HTMLEmbedElement> element = (new HTMLEmbedElement(document, createdByParser));
element->ensureUserAgentShadowRoot();
return element.release();
}
@@ -143,7 +143,7 @@ void HTMLEmbedElement::updateWidgetInternal()
Vector<String> paramValues;
parametersForPlugin(paramNames, paramValues);
- RefPtrWillBeRawPtr<HTMLEmbedElement> protect(this); // Loading the plugin might remove us from the document.
+ RawPtr<HTMLEmbedElement> protect(this); // Loading the plugin might remove us from the document.
// FIXME: Can we not have layoutObject here now that beforeload events are gone?
if (!layoutObject())

Powered by Google App Engine
This is Rietveld 408576698