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

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, 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/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..0095c9147f98553c70a33135d127ef0672a11c7e 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;

Powered by Google App Engine
This is Rietveld 408576698