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

Unified Diff: third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.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/IndentOutdentCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.h b/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.h
index 45fe406a976dd5e0a7428ccadbb78b9a1616d446..013bdfce7abf6b5a35676aee87507b650e210428 100644
--- a/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.h
@@ -34,9 +34,9 @@ namespace blink {
class IndentOutdentCommand final : public ApplyBlockElementCommand {
public:
enum EIndentType { Indent, Outdent };
- static PassRefPtrWillBeRawPtr<IndentOutdentCommand> create(Document& document, EIndentType type)
+ static RawPtr<IndentOutdentCommand> create(Document& document, EIndentType type)
{
- return adoptRefWillBeNoop(new IndentOutdentCommand(document, type));
+ return new IndentOutdentCommand(document, type);
}
bool preservesTypingStyle() const override { return true; }
@@ -49,10 +49,10 @@ private:
void outdentRegion(const VisiblePosition&, const VisiblePosition&, EditingState*);
void outdentParagraph(EditingState*);
bool tryIndentingAsListItem(const Position&, const Position&, EditingState*);
- void indentIntoBlockquote(const Position&, const Position&, RefPtrWillBeRawPtr<HTMLElement>&, EditingState*);
+ void indentIntoBlockquote(const Position&, const Position&, RawPtr<HTMLElement>&, EditingState*);
void formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection, EditingState*) override;
- void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtrWillBeRawPtr<HTMLElement>& blockquoteForNextIndent, EditingState*) override;
+ void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RawPtr<HTMLElement>& blockquoteForNextIndent, EditingState*) override;
EIndentType m_typeOfAction;
};

Powered by Google App Engine
This is Rietveld 408576698