DescriptionDon't use const char kFoo[] in the stack place.
It creates a variable and copy the value all around. Instead use pointer so the other places where the variable is used
just point to the orignal variable instead of copying the value.
BUG=None
TEST=out/Debug/base_unittests --gtest_filter=EnvironmentTest.*
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=56802
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|