Remove no longer needed instrumentation in RenderTextWin.

The underlying bug has been fixed (and was not in RenderText).

BUG=348103
NOTRY=true

Review URL: https://codereview.chromium.org/217243004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260385 0039d316-1c4b-4281-b951-d872f2087c98
parent 50e4303c
...@@ -1009,13 +1009,6 @@ void RenderTextWin::LayoutVisualText() { ...@@ -1009,13 +1009,6 @@ void RenderTextWin::LayoutVisualText() {
if (run->glyph_count > 0) { if (run->glyph_count > 0) {
run->advance_widths.reset(new int[run->glyph_count]); run->advance_widths.reset(new int[run->glyph_count]);
// TODO(asvitkine): Temporary instrumentation to debug a double-free
// crash where we're seeing these two being equal inexplicably. Hitting
// this implies that the malloc book-keeping is corrupt and it returned
// the same pointer for two different allocs, which we can debug further.
// http://crbug.com/348103
CHECK_NE(static_cast<void*>(run->logical_clusters.get()),
static_cast<void*>(run->advance_widths.get()));
run->offsets.reset(new GOFFSET[run->glyph_count]); run->offsets.reset(new GOFFSET[run->glyph_count]);
hr = ScriptPlace(cached_hdc_, hr = ScriptPlace(cached_hdc_,
&run->script_cache, &run->script_cache,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment