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

Unified Diff: third_party/WebKit/Source/core/html/HTMLImageLoader.h

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, 9 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/HTMLImageLoader.h
diff --git a/third_party/WebKit/Source/core/html/HTMLImageLoader.h b/third_party/WebKit/Source/core/html/HTMLImageLoader.h
index 59f3bfe6208ab0a7f2ac239b87c524caddc600e1..8468163811a4359d7e3a726aa0d7eb6ae69a4cc3 100644
--- a/third_party/WebKit/Source/core/html/HTMLImageLoader.h
+++ b/third_party/WebKit/Source/core/html/HTMLImageLoader.h
@@ -30,9 +30,9 @@ namespace blink {
class CORE_EXPORT HTMLImageLoader final : public ImageLoader {
public:
- static PassOwnPtrWillBeRawPtr<HTMLImageLoader> create(Element* element)
+ static RawPtr<HTMLImageLoader> create(Element* element)
{
- return adoptPtrWillBeNoop(new HTMLImageLoader(element));
+ return new HTMLImageLoader(element);
}
~HTMLImageLoader() override;

Powered by Google App Engine
This is Rietveld 408576698