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

Unified Diff: third_party/WebKit/Source/core/editing/DOMSelection.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/editing/DOMSelection.h
diff --git a/third_party/WebKit/Source/core/editing/DOMSelection.h b/third_party/WebKit/Source/core/editing/DOMSelection.h
index fa5c228168c08aa7793f70625da1b717a745d1c5..61b1edbb0f1e275644b48edafda40eff6ba4bf41 100644
--- a/third_party/WebKit/Source/core/editing/DOMSelection.h
+++ b/third_party/WebKit/Source/core/editing/DOMSelection.h
@@ -47,13 +47,13 @@ class Node;
class Range;
class TreeScope;
-class DOMSelection final : public RefCountedWillBeGarbageCollected<DOMSelection>, public ScriptWrappable, public DOMWindowProperty {
+class DOMSelection final : public GarbageCollected<DOMSelection>, public ScriptWrappable, public DOMWindowProperty {
DEFINE_WRAPPERTYPEINFO();
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMSelection);
+ USING_GARBAGE_COLLECTED_MIXIN(DOMSelection);
public:
- static PassRefPtrWillBeRawPtr<DOMSelection> create(const TreeScope* treeScope)
+ static RawPtr<DOMSelection> create(const TreeScope* treeScope)
{
- return adoptRefWillBeNoop(new DOMSelection(treeScope));
+ return new DOMSelection(treeScope);
}
void clearTreeScope();
@@ -84,7 +84,7 @@ public:
void collapseToEnd(ExceptionState&);
void collapseToStart(ExceptionState&);
void extend(Node*, int offset, ExceptionState&);
- PassRefPtrWillBeRawPtr<Range> getRangeAt(int, ExceptionState&);
+ RawPtr<Range> getRangeAt(int, ExceptionState&);
void removeAllRanges();
void addRange(Range*);
void deleteFromDocument();
@@ -111,7 +111,7 @@ private:
void addConsoleError(const String& message);
- RawPtrWillBeMember<const TreeScope> m_treeScope;
+ Member<const TreeScope> m_treeScope;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/editing/CaretBase.h ('k') | third_party/WebKit/Source/core/editing/DOMSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698