Status: Untriaged
Owner: [email protected]
Labels: Type-Bug Pri-2 OS-Mac Area-Misc Size-Medium Valgrind

New issue 21137 by [email protected]: Memory leak in autocomplete field  
drawing when focussed.
http://code.google.com/p/chromium/issues/detail?id=21137

Command: /usr/local/google/home/shess/chromium/chromium-
git/src/xcodebuild/Debug/unit_tests  
--gtest_filter=AutocompleteTextFieldCellTest.Display:-
IPCSyncChannelTest.ChattyServer:IPCSyncChannelTest.* --gtest_print_time
16 bytes in 1 blocks are definitely lost in loss record 484 of 2,642
   malloc (sers/shess/chromium/chromium-git/src/valgrind-
10880/coregrind/m_replacemalloc/vg_replace_malloc.c:195)
   stdSmartNewPtr
   stdSmartNewHandle
   IOCreateAndOpen
   ScratchInit
   CMNewAccessFromAnother
   CMCopyProfile
   CMSGetSystemDefaultProfile
   deviceSet
   cmsDataProviderGetBytes
   CMSValidateProfile
   CGCMSInterfaceValidateProfile
   CGCMSUtilsValidateProfile
   CGColorSpaceCreateICCBased
   create_generic_color_space
   CGColorSpaceCreateWithIndex
   +[NSColorSpace specialColorSpaceWithID:]
   -[NSColorSpace initWithCGColorSpace:]
   +[NSDynamicSystemColor keyboardFocusIndicatorColor]
   -[NSDynamicSystemColor recacheColor]
   -[NSDynamicSystemColor initWithSelector:]
   +[NSColor keyboardFocusIndicatorColor]
   -[AutocompleteTextFieldCell drawWithFrame:inView:]
(/usr/local/google/home/shess/chromium/chromium-
git/src/chrome/browser/cocoa/autocomplete_text_field_cell.mm:187)
   -[NSControl drawRect:]
   -[NSView _drawRect:clip:]
   -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
   -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
   -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
   -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
   -[NSNextStepFrame
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]

[NSColor keyboardFocusIndicatorColor] appears to be cached by the NSColor  
framework.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to