summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/editing/SelectionController.cpp
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2012-02-01 15:29:35 -0800
committerJohn Reck <jreck@google.com>2012-02-01 15:29:35 -0800
commit3ae2dce4826cc4fc412ccd49ab68bb775c31e6c4 (patch)
tree3c3d8ba09186a62fcba572c09cba2b34b8a3bb7a /Source/WebCore/editing/SelectionController.cpp
parenta21f4ae9448c287a3af2010accf179c8d54dcfe4 (diff)
downloadexternal_webkit-3ae2dce4826cc4fc412ccd49ab68bb775c31e6c4.zip
external_webkit-3ae2dce4826cc4fc412ccd49ab68bb775c31e6c4.tar.gz
external_webkit-3ae2dce4826cc4fc412ccd49ab68bb775c31e6c4.tar.bz2
Fix input cursor
Bug: 5947031 Change-Id: I2bad8ffc9bd53aa3a2405a9b5e21c05486489dd4
Diffstat (limited to 'Source/WebCore/editing/SelectionController.cpp')
-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;