summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/editing
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/editing')
-rw-r--r--Source/WebCore/editing/SelectionController.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/WebCore/editing/SelectionController.cpp b/Source/WebCore/editing/SelectionController.cpp
index 3eec640..e9bdd6a 100644
--- a/Source/WebCore/editing/SelectionController.cpp
+++ b/Source/WebCore/editing/SelectionController.cpp
@@ -1562,9 +1562,6 @@ bool SelectionController::isFocusedAndActive() const
void SelectionController::updateAppearance()
{
-#if PLATFORM(ANDROID)
- return;
-#endif
ASSERT(!m_isDragCaretController);
#if ENABLE(TEXT_CARET)
@@ -1595,6 +1592,10 @@ void SelectionController::updateAppearance()
// We need to update style in case the node containing the selection is made display:none.
m_frame->document()->updateStyleIfNeeded();
+#if PLATFORM(ANDROID)
+ return;
+#endif
+
RenderView* view = m_frame->contentRenderer();
if (!view)
return;