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

Unified Diff: third_party/WebKit/Source/core/frame/DOMWindow.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/DOMWindow.h
diff --git a/third_party/WebKit/Source/core/frame/DOMWindow.h b/third_party/WebKit/Source/core/frame/DOMWindow.h
index e587927db7a6e0fe3ce8b5e26f7deb37bb5f63ce..7f66a804290a842884ae4edc42fc545f3fb309c3 100644
--- a/third_party/WebKit/Source/core/frame/DOMWindow.h
+++ b/third_party/WebKit/Source/core/frame/DOMWindow.h
@@ -41,13 +41,13 @@ class StyleMedia;
typedef HeapVector<Member<MessagePort>, 1> MessagePortArray;
-class CORE_EXPORT DOMWindow : public EventTargetWithInlineData, public RefCountedWillBeNoBase<DOMWindow>, public DOMWindowBase64 {
+class CORE_EXPORT DOMWindow : public EventTargetWithInlineData, public DOMWindowBase64 {
DEFINE_WRAPPERTYPEINFO();
REFCOUNTED_EVENT_TARGET(DOMWindow);
public:
~DOMWindow() override;
- // RefCountedWillBeGarbageCollectedFinalized overrides:
+ // GarbageCollectedFinalized overrides:
DECLARE_VIRTUAL_TRACE();
virtual bool isLocalDOMWindow() const { return false; }
@@ -157,13 +157,13 @@ public:
virtual void resizeBy(int x, int y) const = 0;
virtual void resizeTo(int width, int height) const = 0;
- virtual PassRefPtrWillBeRawPtr<MediaQueryList> matchMedia(const String&) = 0;
+ virtual RawPtr<MediaQueryList> matchMedia(const String&) = 0;
// DOM Level 2 Style Interface
- virtual PassRefPtrWillBeRawPtr<CSSStyleDeclaration> getComputedStyle(Element*, const String& pseudoElt) const = 0;
+ virtual RawPtr<CSSStyleDeclaration> getComputedStyle(Element*, const String& pseudoElt) const = 0;
// WebKit extensions
- virtual PassRefPtrWillBeRawPtr<CSSRuleList> getMatchedCSSRules(Element*, const String& pseudoElt) const = 0;
+ virtual RawPtr<CSSRuleList> getMatchedCSSRules(Element*, const String& pseudoElt) const = 0;
// WebKit animation extensions
virtual int requestAnimationFrame(FrameRequestCallback*) = 0;
@@ -224,7 +224,7 @@ protected:
bool m_windowIsClosing;
private:
- mutable RefPtrWillBeMember<Location> m_location;
+ mutable Member<Location> m_location;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/frame/DOMTimerCoordinator.cpp ('k') | third_party/WebKit/Source/core/frame/DOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698