Index: third_party/WebKit/Source/core/editing/FrameSelection.cpp |
diff --git a/third_party/WebKit/Source/core/editing/FrameSelection.cpp b/third_party/WebKit/Source/core/editing/FrameSelection.cpp |
index a67ced7a31fa363aaed0ddb1c2eae7ae4b1e6da4..a648842505f763693a3dc2b41124900bb5cc3e1d 100644 |
--- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp |
+++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp |
@@ -842,7 +842,7 @@ void FrameSelection::selectAll() |
selectStartTarget = document->body(); |
} |
} |
- if (!root || editingIgnoresContent(root)) |
+ if (!root || editingIgnoresContent(root.get())) |
return; |
if (selectStartTarget && !selectStartTarget->dispatchEvent(Event::createCancelableBubble(EventTypeNames::selectstart))) |