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

Unified Diff: include/v8.h

Issue 2697683002: Use internalized strings for v8::Template::Set shorthand. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index f850b23a00844bbdeb5616a46765992123b553ae..1ecd0ada709651c1637b75c9b01fb0a743971bdb 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -9082,7 +9082,7 @@ Local<Boolean> Boolean::New(Isolate* isolate, bool value) {
}
void Template::Set(Isolate* isolate, const char* name, Local<Data> value) {
- Set(String::NewFromUtf8(isolate, name, NewStringType::kNormal)
+ Set(String::NewFromUtf8(isolate, name, NewStringType::kInternalized)
.ToLocalChecked(),
value);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698