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

Unified Diff: runtime/vm/object.cc

Issue 237683004: Disable applyAuthorStyles (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 0bd36a0199cd97ddfc3270eabbfb256b16355a30..13e6058f951310dd0f41e9e658a2a1cbeaab9037 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -10995,7 +10995,8 @@ RawString* Code::Name() const {
// Regular stub.
const char* name = StubCode::NameOfStub(EntryPoint());
ASSERT(name != NULL);
- return String::New(name);
+ const String& stub_name = String::Handle(String::New(name));
+ return String::Concat(Symbols::StubPrefix(), stub_name);
} else if (obj.IsClass()) {
// Allocation stub.
const Class& cls = Class::Cast(obj);
@@ -11016,7 +11017,8 @@ RawString* Code::UserName() const {
// Regular stub.
const char* name = StubCode::NameOfStub(EntryPoint());
ASSERT(name != NULL);
- return String::New(name);
+ const String& stub_name = String::Handle(String::New(name));
+ return String::Concat(Symbols::StubPrefix(), stub_name);
} else if (obj.IsClass()) {
// Allocation stub.
const Class& cls = Class::Cast(obj);

Powered by Google App Engine
This is Rietveld 408576698