Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1826)

Unified Diff: sky/engine/core/page/EventHandler.cpp

Issue 688213002: First pass at removing dead vertical writing mode code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/frame/LocalFrame.cpp ('k') | sky/engine/core/rendering/InlineBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/page/EventHandler.cpp
diff --git a/sky/engine/core/page/EventHandler.cpp b/sky/engine/core/page/EventHandler.cpp
index 068340a3bd5d5d04c2a41b7b82c18417450b9b64..cc96cb30f416f74d553633f4c065bb85d3390ea1 100644
--- a/sky/engine/core/page/EventHandler.cpp
+++ b/sky/engine/core/page/EventHandler.cpp
@@ -910,8 +910,7 @@ OptionalCursor EventHandler::selectCursor(const HitTestResult& result)
switch (style ? style->cursor() : CURSOR_AUTO) {
case CURSOR_AUTO: {
- bool horizontalText = !style || style->isHorizontalWritingMode();
- const Cursor& iBeam = horizontalText ? iBeamCursor() : verticalTextCursor();
+ const Cursor& iBeam = iBeamCursor();
return selectAutoCursor(result, node, iBeam);
}
case CURSOR_CROSS:
« no previous file with comments | « sky/engine/core/frame/LocalFrame.cpp ('k') | sky/engine/core/rendering/InlineBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698