Index: third_party/WebKit/Source/core/editing/EditingStyle.h |
diff --git a/third_party/WebKit/Source/core/editing/EditingStyle.h b/third_party/WebKit/Source/core/editing/EditingStyle.h |
index 0ddcd752001a952361fe81688c48be82985ec9a8..c98e6bd65290be9ddef9a5e0b0086949e1c817cd 100644 |
--- a/third_party/WebKit/Source/core/editing/EditingStyle.h |
+++ b/third_party/WebKit/Source/core/editing/EditingStyle.h |
@@ -141,6 +141,10 @@ public: |
static PassRefPtrWillBeRawPtr<EditingStyle> styleAtSelectionStart(const VisibleSelection&, bool shouldUseBackgroundColorInEffect = false); |
static WritingDirection textDirectionForSelection(const VisibleSelection&, EditingStyle* typingStyle, bool& hasNestedOrMultipleEmbeddings); |
+ static bool isEmbedOrIsolate(CSSValueID unicodeBidi) |
+ { |
+ return unicodeBidi == CSSValueIsolate || unicodeBidi == CSSValueWebkitIsolate || unicodeBidi == CSSValueEmbed; |
+ } |
DECLARE_TRACE(); |