Chromium Code Reviews
DescriptionDevTools: move message management from UISourceCodeFrame to UISourceCode
Today, UISourceCodeFrame removes all messages from UISourceCode whenever
the working copy of UISourceCode gets changed. This is a "wag the dog"
situation.
This patch makes UISourceCode to decide on the lifetime on its messages.
This will help to implement the message merging logic.
Drive-by: converts UISourceCodeFrame._rawMessageBucket into Map.
BUG=649837
Committed: https://crrev.com/f0fe6d5aaedd8efaedfc651c92e4e9eda31c2046
Cr-Commit-Position: refs/heads/master@{#434819}
Patch Set 1 #Patch Set 2 : fix tests #
Total comments: 2
Patch Set 3 : address comments #
Dependent Patchsets: Messages
Total messages: 30 (18 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||