DescriptionAdded ScopedNSAutoreleasePool to RenderViewTest.
If Blink checks font metrics during some browser_test (e.g. PrintLayoutTest), Blink might allocates CFString by using Mac allocator, and the CFString might have a reference to StringImpl allocated by FastMalloc.
So we should invoke Mac decallocator before destroying Blink instance. If we don't, browser_tests will crash.
BUG=305885, 336756
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=249043
Patch Set 1 #Patch Set 2 : Moved autorelease pool to RenderViewTest #
Total comments: 6
Patch Set 3 : Patch for landing #
Messages
Total messages: 18 (0 generated)
|