Nicholas Nethercote
7fabd8754f
Bug 1231550 - Use DrawTarget instead of gfxContext and/or nsRenderingContext in many places in font/text code. r=jfkthame.
...
AutoTextRun now only needs a DrawTarget instead of an nsRenderingContext, and
similar nsRenderingContext/gfxContext-to-DrawTarget replacements can be
propagated a long way up the call graph. This patch replaces 93 occurrences of
nsRenderingContext and 135 occurrences of gfxContext with DrawTarget; that's
13% of them.
The patch is mostly plumbing changes. A couple of not-entirely-plumbing
changes:
- It adds a comment about the null check in
gfxGlyphExtents::GetTightGlyphExtentsAppUnits().
- A couple of functions simply had an unused gfxContext or nsRenderingContext
parameter removed, e.g. SetLineBreaks().
2015-12-15 13:56:41 -08:00
..
2015-12-28 20:46:22 -08:00
2015-11-17 09:54:12 +11:00
2015-04-01 23:17:22 -07:00
2015-12-01 13:45:49 -08:00
2015-07-13 08:25:42 -07:00
2015-12-15 13:56:41 -08:00
2015-12-15 13:56:41 -08:00
2015-08-27 20:44:53 -07:00
2015-12-22 23:03:16 +01:00
2015-12-22 23:03:16 +01:00
2015-03-21 12:28:04 -04:00
2015-12-15 13:56:41 -08:00
2015-12-15 13:56:41 -08:00
2015-09-04 22:06:57 +02:00
2015-07-16 10:07:57 +01:00
2015-12-07 15:23:34 -08:00
2015-08-02 21:03:09 -07:00
2015-12-06 14:13:57 -08:00
2015-12-15 13:56:41 -08:00
2015-10-18 01:24:48 -04:00
2015-12-22 14:03:21 +05:30
2015-12-22 14:03:21 +05:30
2015-11-02 07:53:26 +02:00
2015-03-21 12:28:04 -04:00
2015-12-24 16:04:20 -07:00
2015-11-04 20:57:35 +11:00
2015-10-18 01:24:48 -04:00
2015-03-21 12:28:04 -04:00
2016-01-04 13:11:58 -08:00
2015-07-16 10:07:57 +01:00
2015-09-18 16:25:21 +01:00
2015-12-07 15:23:34 -08:00
2015-06-29 13:02:21 -07:00
2015-03-10 14:28:23 +00:00
2015-12-15 13:56:41 -08:00
2015-12-15 13:56:41 -08:00
2015-06-22 10:33:34 +01:00
2015-09-17 12:08:19 +10:00
2015-07-13 08:25:42 -07:00
2015-12-01 15:25:06 -05:00
2015-11-14 00:06:58 -08:00
2015-10-29 16:16:13 -04:00
2014-12-29 13:34:07 +11:00
2015-07-13 08:25:42 -07:00
2015-07-18 12:24:53 +12:00
2015-03-21 12:28:04 -04:00
2015-12-22 16:54:19 +01:00
2015-12-22 16:54:19 +01:00
2015-12-22 23:03:16 +01:00
2015-12-22 23:03:16 +01:00
2015-12-18 14:52:17 +08:00
2015-07-13 08:25:42 -07:00
2015-04-30 18:27:54 +12:00
2015-07-16 10:07:57 +01:00
2015-12-22 23:03:16 +01:00
2015-12-22 23:03:16 +01:00
2015-10-18 01:24:48 -04:00
2015-12-15 13:56:41 -08:00
2015-11-03 21:45:33 +01:00
2015-12-15 13:56:41 -08:00
2015-12-03 15:20:10 +01:00
2015-10-29 16:16:13 -04:00
2015-03-27 18:52:19 +00:00
2015-12-15 13:56:41 -08:00
2015-12-15 13:56:41 -08:00
2015-12-22 16:54:19 +01:00
2015-11-04 20:57:35 +11:00
2015-11-04 20:57:35 +11:00
2015-12-01 10:04:50 +01:00
2015-07-20 17:06:38 -07:00
2015-12-15 13:56:41 -08:00
2015-12-08 12:55:01 -05:00
2015-03-29 22:38:40 +00:00
2015-03-21 12:28:04 -04:00
2015-12-15 13:56:41 -08:00
2015-04-27 08:10:29 -04:00
2015-03-29 22:38:40 +00:00
2015-03-21 12:28:04 -04:00
2015-12-24 12:02:05 +01:00
2015-12-02 14:32:55 -08:00
2015-03-21 12:28:04 -04:00
2015-12-15 13:56:41 -08:00
2015-12-04 13:08:17 +11:00
2015-03-26 18:29:31 +11:00
2015-03-21 12:28:04 -04:00
2015-11-04 20:57:35 +11:00
2015-11-04 20:57:35 +11:00
2015-12-04 13:08:17 +11:00
2015-12-04 13:08:17 +11:00
2015-07-16 10:07:57 +01:00
2015-04-08 11:22:34 +12:00
2015-03-26 18:29:31 +11:00
2015-03-21 12:28:04 -04:00
2015-12-22 14:03:21 +05:30
2015-11-05 23:35:03 +01:00
2015-10-18 01:24:48 -04:00
2015-11-04 20:57:35 +11:00
2015-11-04 20:57:35 +11:00
2015-12-22 16:54:19 +01:00
2015-10-18 01:24:48 -04:00
2015-12-15 13:56:41 -08:00
2015-12-15 13:56:41 -08:00
2015-12-15 13:56:41 -08:00
2015-12-15 13:56:41 -08:00
2015-10-18 01:24:48 -04:00
2015-07-13 08:25:42 -07:00
2015-12-22 23:03:16 +01:00
2015-10-07 14:04:32 +11:00
2015-04-08 11:22:34 +12:00
2015-07-13 08:25:42 -07:00
2015-11-16 10:44:45 -05:00
2015-10-18 01:24:48 -04:00
2015-07-13 11:53:10 -04:00
2015-03-21 12:28:04 -04:00
2015-12-01 15:25:06 -05:00
2015-09-12 17:56:44 -04:00
2015-02-04 15:22:27 -08:00
2015-03-21 12:28:04 -04:00
2015-12-15 13:56:41 -08:00
2015-07-16 10:07:57 +01:00
2015-09-18 16:25:14 +01:00