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

Unified Diff: third_party/WebKit/Source/core/editing/commands/SimplifyMarkupCommand.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/commands/SimplifyMarkupCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/SimplifyMarkupCommand.h b/third_party/WebKit/Source/core/editing/commands/SimplifyMarkupCommand.h
index 257d8d8f0f17854936cc5b45215e20375dc0de9a..43d2b79eeef3b4f801d01a96ba4b648e68d5cad5 100644
--- a/third_party/WebKit/Source/core/editing/commands/SimplifyMarkupCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/SimplifyMarkupCommand.h
@@ -32,9 +32,9 @@ namespace blink {
class SimplifyMarkupCommand final : public CompositeEditCommand {
public:
- static PassRefPtrWillBeRawPtr<SimplifyMarkupCommand> create(Document& document, Node* firstNode, Node* nodeAfterLast)
+ static RawPtr<SimplifyMarkupCommand> create(Document& document, Node* firstNode, Node* nodeAfterLast)
{
- return adoptRefWillBeNoop(new SimplifyMarkupCommand(document, firstNode, nodeAfterLast));
+ return new SimplifyMarkupCommand(document, firstNode, nodeAfterLast);
}
DECLARE_VIRTUAL_TRACE();
@@ -43,10 +43,10 @@ private:
SimplifyMarkupCommand(Document&, Node* firstNode, Node* nodeAfterLast);
void doApply(EditingState*) override;
- int pruneSubsequentAncestorsToRemove(WillBeHeapVector<RefPtrWillBeMember<ContainerNode>>& nodesToRemove, size_t startNodeIndex, EditingState*);
+ int pruneSubsequentAncestorsToRemove(HeapVector<Member<ContainerNode>>& nodesToRemove, size_t startNodeIndex, EditingState*);
- RefPtrWillBeMember<Node> m_firstNode;
- RefPtrWillBeMember<Node> m_nodeAfterLast;
+ Member<Node> m_firstNode;
+ Member<Node> m_nodeAfterLast;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698