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

Unified Diff: third_party/WebKit/Source/core/frame/RemoteDOMWindow.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/RemoteDOMWindow.h
diff --git a/third_party/WebKit/Source/core/frame/RemoteDOMWindow.h b/third_party/WebKit/Source/core/frame/RemoteDOMWindow.h
index 73e911319ad62b805870ed10441a96bd5c0cbbdb..8760e48ec2b18745f17b73860d07a965cd330213 100644
--- a/third_party/WebKit/Source/core/frame/RemoteDOMWindow.h
+++ b/third_party/WebKit/Source/core/frame/RemoteDOMWindow.h
@@ -12,9 +12,9 @@ namespace blink {
class RemoteDOMWindow final : public DOMWindow {
public:
- static PassRefPtrWillBeRawPtr<RemoteDOMWindow> create(RemoteFrame& frame)
+ static RawPtr<RemoteDOMWindow> create(RemoteFrame& frame)
{
- return adoptRefWillBeNoop(new RemoteDOMWindow(frame));
+ return new RemoteDOMWindow(frame);
}
// EventTarget overrides:
@@ -70,9 +70,9 @@ public:
void moveTo(int x, int y) const override;
void resizeBy(int x, int y) const override;
void resizeTo(int width, int height) const override;
- PassRefPtrWillBeRawPtr<MediaQueryList> matchMedia(const String&) override;
- PassRefPtrWillBeRawPtr<CSSStyleDeclaration> getComputedStyle(Element*, const String& pseudoElt) const override;
- PassRefPtrWillBeRawPtr<CSSRuleList> getMatchedCSSRules(Element*, const String& pseudoElt) const override;
+ RawPtr<MediaQueryList> matchMedia(const String&) override;
+ RawPtr<CSSStyleDeclaration> getComputedStyle(Element*, const String& pseudoElt) const override;
+ RawPtr<CSSRuleList> getMatchedCSSRules(Element*, const String& pseudoElt) const override;
int requestAnimationFrame(FrameRequestCallback*) override;
int webkitRequestAnimationFrame(FrameRequestCallback*) override;
void cancelAnimationFrame(int id) override;
@@ -84,7 +84,7 @@ public:
private:
explicit RemoteDOMWindow(RemoteFrame&);
- RawPtrWillBeMember<RemoteFrame> m_frame;
+ Member<RemoteFrame> m_frame;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698