Commit Graph
11 Commits
Author SHA1 Message Date
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
Mats Palmgren 3f92be8fe8 Bug 1148833 part 3 - Remove nsIFrame::WillReflow and add a non-virtual MarkInReflow method instead that sets NS_FRAME_IN_REFLOW. Call it at the start of Reflow(). r=roc 2015-03-29 22:38:40 +00:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Mats Palmgren 8fe75b1c1b Bug 515530 - Remove nsHTMLContainerFrame. r=roc 2011-12-27 21:18:48 +01:00
Felix Fung fa05b7e0f3 Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
[email protected] 358db4f61b Bug 106386 Correct misspellings in source code
[email protected], [email protected] rs=brendan
2006-11-01 23:02:18 +00:00
[email protected] 21af79fe88 Bug 106386 Correct misspellings in source code
patch by [email protected] r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
[email protected] 8bb1b463bf Bug 229814. CSS error in layout/doc/obsolete/layout.css. Patch by Bob Clary <[email protected]>. r/sr=dbaron 2004-01-01 17:15:18 +00:00
[email protected] 9446ce805f Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky 2003-10-13 21:51:02 +00:00
[email protected] 92a3737c5c Bug 106386 rid source of misspellings
patch by [email protected] r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
[email protected] b9e488dcc9 Moving obsolete layout documents to new subfolder. 2002-01-16 00:55:54 +00:00