Summary: | Web Inspector: NMI: rename addMember for strings and KURL to addInstrumentedMember | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ilya Tikhonovsky <loislo> | ||||||||||
Component: | Web Inspector (Deprecated) | Assignee: | Ilya Tikhonovsky <loislo> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | abarth, alph, apavlov, bweinstein, cmarcelo, eric.carlson, eric, feature-media-reviews, japhet, joepeck, keishi, loislo, macpherson, menard, pfeldman, pmuellr, rik, timothy, webkit.review.bot, yurys | ||||||||||
Priority: | P2 | ||||||||||||
Version: | 528+ (Nightly build) | ||||||||||||
Hardware: | All | ||||||||||||
OS: | All | ||||||||||||
Bug Depends on: | |||||||||||||
Bug Blocks: | 87262 | ||||||||||||
Attachments: |
|
Description
Ilya Tikhonovsky
2012-08-21 03:09:37 PDT
Created attachment 159639 [details]
Patch
Comment on attachment 159639 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=159639&action=review > Source/WebCore/dom/MemoryInstrumentation.h:106 > + void addInstrumentedObject(const String&, ObjectType); We should merge these methods into corresponding addInstrumentedObjectImpl. > Source/WebCore/dom/MemoryInstrumentation.h:219 > + void addInstrumentedMember(const String& string) { m_memoryInstrumentation->addInstrumentedObject(string, m_objectType); } Having overloaded version of addInstrumentedObjectImpl should be enough for generic addInstrumentedMember method to work here. Created attachment 159665 [details]
Patch
Comment on attachment 159665 [details] Patch Attachment 159665 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/13554149 Comment on attachment 159665 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=159665&action=review > Source/WebCore/dom/MemoryInstrumentation.cpp:64 > + addObject(url->innerURL(), objectType); addObject -> addInstrumentedObject, can you check why didn't the compilation failed on this call? Created attachment 159674 [details]
Patch
(In reply to comment #5) > (From update of attachment 159665 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=159665&action=review > > > Source/WebCore/dom/MemoryInstrumentation.cpp:64 > > + addObject(url->innerURL(), objectType); > > addObject -> addInstrumentedObject, can you check why didn't the compilation failed on this call? fixed. link time guards were moved to MemoryInstrumentation Created attachment 159680 [details]
actually landed
actually landed patch
|