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

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

Issue 299353004: Oilpan: move editing objects to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
Index: Source/core/editing/RemoveFormatCommand.h
diff --git a/Source/core/editing/RemoveFormatCommand.h b/Source/core/editing/RemoveFormatCommand.h
index f08a5a7ce58da7df01c9c3428fd1989b0bfef36e..c32ce61691bb53ffcd030ced93a584c29c3324ec 100644
--- a/Source/core/editing/RemoveFormatCommand.h
+++ b/Source/core/editing/RemoveFormatCommand.h
@@ -32,9 +32,9 @@ namespace WebCore {
class RemoveFormatCommand FINAL : public CompositeEditCommand {
public:
- static PassRefPtr<RemoveFormatCommand> create(Document& document)
+ static PassRefPtrWillBeRawPtr<RemoveFormatCommand> create(Document& document)
{
- return adoptRef(new RemoveFormatCommand(document));
+ return adoptRefWillBeNoop(new RemoveFormatCommand(document));
}
private:

Powered by Google App Engine
This is Rietveld 408576698