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

Unified Diff: third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.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/FormatBlockCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.h b/third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.h
index a273f066f8b39e34ef6834692befabb28acf01d8..9f9ca64a4bf951ef08be7bbe365f78794da1d274 100644
--- a/third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.h
@@ -40,9 +40,9 @@ class Range;
class FormatBlockCommand final : public ApplyBlockElementCommand {
public:
- static PassRefPtrWillBeRawPtr<FormatBlockCommand> create(Document& document, const QualifiedName& tagName)
+ static RawPtr<FormatBlockCommand> create(Document& document, const QualifiedName& tagName)
{
- return adoptRefWillBeNoop(new FormatBlockCommand(document, tagName));
+ return (new FormatBlockCommand(document, tagName));
}
bool preservesTypingStyle() const override { return true; }
@@ -54,7 +54,7 @@ private:
FormatBlockCommand(Document&, const QualifiedName& tagName);
void formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) override;
- void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtrWillBeRawPtr<HTMLElement>&) override;
+ void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RawPtr<HTMLElement>&) override;
EditAction editingAction() const override { return EditActionFormatBlock; }
bool m_didApply;

Powered by Google App Engine
This is Rietveld 408576698