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 33f6b8007d851688774667939e04a40c23b139de..a67ced7a31fa363aaed0ddb1c2eae7ae4b1e6da4 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) |
+ if (!root || editingIgnoresContent(root)) |
return; |
if (selectStartTarget && !selectStartTarget->dispatchEvent(Event::createCancelableBubble(EventTypeNames::selectstart))) |