Chromium Code Reviews| Index: Source/core/editing/Editor.cpp |
| diff --git a/Source/core/editing/Editor.cpp b/Source/core/editing/Editor.cpp |
| index 992dd86450cecd876e0df4e63bdecd3417f8306b..7ee731b83622303f90eb854ca4fc8c05c47ebee0 100644 |
| --- a/Source/core/editing/Editor.cpp |
| +++ b/Source/core/editing/Editor.cpp |
| @@ -421,7 +421,7 @@ void Editor::writeSelectionToPasteboard(Pasteboard* pasteboard, Range* selectedR |
| pasteboard->writeHTML(html, url, plainText, canSmartCopyOrDelete()); |
| } |
| -static Image* imageFromNode(const Node& node) |
| +static PassRefPtr<Image> imageFromNode(const Node& node) |
|
Justin Novosad
2014/11/27 00:49:30
Can you explain why this needs to be a RefPtr now?
dshwang
2014/11/27 15:12:11
Next patch removes it.
I changed HTMLCanvasElemen
|
| { |
| node.document().updateLayoutIgnorePendingStylesheets(); |
| RenderObject* renderer = node.renderer(); |