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

Unified Diff: Source/core/editing/IndentOutdentCommand.h

Issue 299353004: Oilpan: move editing objects to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make test wrapper class finalized Created 6 years, 7 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
« no previous file with comments | « Source/core/editing/FrameSelection.cpp ('k') | Source/core/editing/IndentOutdentCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/IndentOutdentCommand.h
diff --git a/Source/core/editing/IndentOutdentCommand.h b/Source/core/editing/IndentOutdentCommand.h
index 2fe5d4f48b84fed4961b187236e00d23cb274d6f..c5d2b3b73127c06117a6d7e32a9bdfe428c9bea5 100644
--- a/Source/core/editing/IndentOutdentCommand.h
+++ b/Source/core/editing/IndentOutdentCommand.h
@@ -34,9 +34,9 @@ namespace WebCore {
class IndentOutdentCommand FINAL : public ApplyBlockElementCommand {
public:
enum EIndentType { Indent, Outdent };
- static PassRefPtr<IndentOutdentCommand> create(Document& document, EIndentType type)
+ static PassRefPtrWillBeRawPtr<IndentOutdentCommand> create(Document& document, EIndentType type)
{
- return adoptRef(new IndentOutdentCommand(document, type));
+ return adoptRefWillBeNoop(new IndentOutdentCommand(document, type));
}
virtual 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&, RefPtr<Element>&);
+ void indentIntoBlockquote(const Position&, const Position&, RefPtrWillBeRawPtr<Element>&);
virtual void formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) OVERRIDE;
- virtual void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtr<Element>& blockquoteForNextIndent) OVERRIDE;
+ virtual void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtrWillBeRawPtr<Element>& blockquoteForNextIndent) OVERRIDE;
EIndentType m_typeOfAction;
};
« no previous file with comments | « Source/core/editing/FrameSelection.cpp ('k') | Source/core/editing/IndentOutdentCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698