DescriptionRemove chrome.* Function Instrumentation Inlining and Use a Separate Instrumented Object
Chrome rebinds all of the chrome.* functions during events like permission
updates (e.g. chrome.permissions.request will cause all chrome.* to rebind).
This has the effect of throwing away all of the instrumentation set up during
initialization.
The fix here removes all inlining instrumentation from chrome.* and introduces
instrumented.* which mirrors chrome.* only for the instrumented functions.
instrumented.* also delays the lookup of the function until execution time
in the event the functions are rebound by chrome.
BUG=164227
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216713
Patch Set 1 #
Total comments: 23
Patch Set 2 : CR Feedback #
Total comments: 4
Patch Set 3 : CR Feedback #
Total comments: 2
Patch Set 4 : CR Feedback #
Total comments: 2
Patch Set 5 : Quick Spacing Fix #
Messages
Total messages: 14 (0 generated)
|