DescriptionUse new operator consistently for constructor-like functions.
Function MainPanelScrollBar() is not a constructor, but it behaves like a constructor.
We can use new consistently for such functions.
BUG=none
TEST=manually
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290741
Patch Set 1 #
Total comments: 1
Patch Set 2 : Use new operator consistently for constructor-like functions. #
Messages
Total messages: 8 (0 generated)
|