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

Unified Diff: third_party/WebKit/Source/core/frame/BarProp.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/frame/BarProp.h
diff --git a/third_party/WebKit/Source/core/frame/BarProp.h b/third_party/WebKit/Source/core/frame/BarProp.h
index 221fa100f62a5021346bc54e9e0888edfc301f8e..13152c618173ab51fda33f65538314b47a9966d6 100644
--- a/third_party/WebKit/Source/core/frame/BarProp.h
+++ b/third_party/WebKit/Source/core/frame/BarProp.h
@@ -39,15 +39,15 @@ namespace blink {
class LocalFrame;
-class BarProp final : public RefCountedWillBeGarbageCollected<BarProp>, public ScriptWrappable, public DOMWindowProperty {
+class BarProp final : public GarbageCollected<BarProp>, public ScriptWrappable, public DOMWindowProperty {
DEFINE_WRAPPERTYPEINFO();
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(BarProp);
+ USING_GARBAGE_COLLECTED_MIXIN(BarProp);
public:
enum Type { Locationbar, Menubar, Personalbar, Scrollbars, Statusbar, Toolbar };
- static PassRefPtrWillBeRawPtr<BarProp> create(LocalFrame* frame, Type type)
+ static RawPtr<BarProp> create(LocalFrame* frame, Type type)
{
- return adoptRefWillBeNoop(new BarProp(frame, type));
+ return new BarProp(frame, type);
}
bool visible() const;
« no previous file with comments | « third_party/WebKit/Source/core/fileapi/FileReader.cpp ('k') | third_party/WebKit/Source/core/frame/BarProp.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698