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

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, 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/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 71dc4223bc2182012f01839b394fab3e25afd8b0..31e64bc5b6e71f850b856fa1b692a8b084326e7a 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, EditingState*) override;
- void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtrWillBeRawPtr<HTMLElement>&, EditingState*) override;
+ void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RawPtr<HTMLElement>&, EditingState*) override;
EditAction editingAction() const override { return EditActionFormatBlock; }
bool m_didApply;

Powered by Google App Engine
This is Rietveld 408576698