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

Unified Diff: ui/gfx/render_text_linux.cc

Issue 8681001: Revert 111288 - Possibly broke media_unittests on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 | « ui/gfx/render_text.cc ('k') | ui/gfx/render_text_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/render_text_linux.cc
===================================================================
--- ui/gfx/render_text_linux.cc (revision 111322)
+++ ui/gfx/render_text_linux.cc (working copy)
@@ -89,8 +89,13 @@
cairo_restore(cr);
// Paint cursor.
+ bounds = GetUpdatedCursorBounds();
if (cursor_visible() && focused())
- canvas->DrawRect(GetUpdatedCursorBounds(), kCursorColor);
+ canvas->DrawRectInt(kCursorColor,
+ bounds.x(),
+ bounds.y(),
+ bounds.width(),
+ bounds.height());
}
SelectionModel RenderTextLinux::FindCursorPosition(const Point& point) {
Property changes on: ui\gfx\render_text_linux.cc
___________________________________________________________________
Deleted: svn:mergeinfo
« no previous file with comments | « ui/gfx/render_text.cc ('k') | ui/gfx/render_text_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698