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

Unified Diff: Source/core/editing/CreateLinkCommand.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/CreateLinkCommand.h
diff --git a/Source/core/editing/CreateLinkCommand.h b/Source/core/editing/CreateLinkCommand.h
index a1eaf814b17ef2cb1ced03290a7eb6419f3aeb89..0808f42a34f0320e3365abd6bb5759124cd40562 100644
--- a/Source/core/editing/CreateLinkCommand.h
+++ b/Source/core/editing/CreateLinkCommand.h
@@ -32,9 +32,9 @@ namespace WebCore {
class CreateLinkCommand FINAL : public CompositeEditCommand {
public:
- static PassRefPtr<CreateLinkCommand> create(Document& document, const String& linkURL)
+ static PassRefPtrWillBeRawPtr<CreateLinkCommand> create(Document& document, const String& linkURL)
{
- return adoptRef(new CreateLinkCommand(document, linkURL));
+ return adoptRefWillBeNoop(new CreateLinkCommand(document, linkURL));
}
private:

Powered by Google App Engine
This is Rietveld 408576698