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

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, 10 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 3d2e9ff9275ea4d5ce369c77d100a09e8ba5f629..11168b3b633c61af07fca6ce5b4af1774391b9c1 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&);
void outdentParagraph();
bool tryIndentingAsListItem(const Position&, const Position&);
- void indentIntoBlockquote(const Position&, const Position&, RefPtrWillBeRawPtr<HTMLElement>&);
+ void indentIntoBlockquote(const Position&, const Position&, RawPtr<HTMLElement>&);
void formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) override;
- void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtrWillBeRawPtr<HTMLElement>& blockquoteForNextIndent) override;
+ void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RawPtr<HTMLElement>& blockquoteForNextIndent) override;
EIndentType m_typeOfAction;
};

Powered by Google App Engine
This is Rietveld 408576698