| Index: src/objects-printer.cc
|
| diff --git a/src/objects-printer.cc b/src/objects-printer.cc
|
| index 1dcc3d53948d13cd87f5770f06b04a0320f921ba..c587f7c38931a8bb4c5207eb05ac5a452ea0c784 100644
|
| --- a/src/objects-printer.cc
|
| +++ b/src/objects-printer.cc
|
| @@ -748,10 +748,8 @@ void SharedFunctionInfo::SharedFunctionInfoPrint(std::ostream& os) { // NOLINT
|
| String* source = String::cast(Script::cast(script())->source());
|
| int start = start_position();
|
| int length = end_position() - start;
|
| - SmartArrayPointer<char> source_string =
|
| - source->ToCString(DISALLOW_NULLS,
|
| - FAST_STRING_TRAVERSAL,
|
| - start, length, NULL);
|
| + base::SmartArrayPointer<char> source_string = source->ToCString(
|
| + DISALLOW_NULLS, FAST_STRING_TRAVERSAL, start, length, NULL);
|
| os << source_string.get();
|
| }
|
| // Script files are often large, hard to read.
|
|
|