This is one of steps to insert TRACE_EVENT_STATE() macros into DOM bindings. This patch introduces an indirection function for xxxAttrSetter(), like this: // For non-custom setters void xxxAttrSetterCallback(...) { xxxAttrSetter(...); } // For custom setters. void xxxAttrSetterCallback(...) { return xxxAttrSetterCustom(...); }
Created attachment 190003 [details] Patch
Comment on attachment 190003 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=190003&action=review > Source/WebCore/bindings/scripts/CodeGeneratorV8.pm:1199 > -sub GenerateNormalAttrSetter > +sub GenerateNormalAttrSetterCallback This diff is confusing, but basically I just factored out ${attrName}AttrSetterCallback() from GenerateNormalAttrSetter().
Committed r143964: <http://trac.webkit.org/changeset/143964>