| Index: net/base/net_module.cc
|
| ===================================================================
|
| --- net/base/net_module.cc (revision 5738)
|
| +++ net/base/net_module.cc (working copy)
|
| @@ -14,10 +14,10 @@
|
| }
|
|
|
| // static
|
| -std::string NetModule::GetResource(int key) {
|
| +StringPiece NetModule::GetResource(int key) {
|
| // avoid thread safety issues by copying provider address to a local var
|
| ResourceProvider func = resource_provider;
|
| - return func ? func(key) : std::string();
|
| + return func ? func(key) : StringPiece();
|
| }
|
|
|
| } // namespace net
|
|
|