Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1228)

Unified Diff: src/strings-storage.cc

Issue 1221433021: Move SmartPointer to base. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove some unecessary header includes Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/strings-storage.cc
diff --git a/src/strings-storage.cc b/src/strings-storage.cc
index 533fa8959cd80e6670cddd7834ff7fd4d04e00f1..8ddf291fcc3112aef8bcf59f4f09b0f0b4a60d15 100644
--- a/src/strings-storage.cc
+++ b/src/strings-storage.cc
@@ -80,7 +80,7 @@ const char* StringsStorage::GetName(Name* name) {
String* str = String::cast(name);
int length = Min(kMaxNameSize, str->length());
int actual_length = 0;
- SmartArrayPointer<char> data = str->ToCString(
+ base::SmartArrayPointer<char> data = str->ToCString(
DISALLOW_NULLS, ROBUST_STRING_TRAVERSAL, 0, length, &actual_length);
return AddOrDisposeString(data.Detach(), actual_length);
} else if (name->IsSymbol()) {
« BUILD.gn ('K') | « src/string-stream.cc ('k') | test/cctest/compiler/test-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698