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

Unified Diff: src/snapshot/startup-serializer.cc

Issue 2831893002: Revert of [serializer/debugger] hide scripts in the snapshot from the debugger. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « src/debug/debug.cc ('k') | test/cctest/test-serialize.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/snapshot/startup-serializer.cc
diff --git a/src/snapshot/startup-serializer.cc b/src/snapshot/startup-serializer.cc
index 263e2e886a2f9d8b074aef7e35f7f552acf6b999..4b27746f8eefa0cce128468249d2d25f526be12b 100644
--- a/src/snapshot/startup-serializer.cc
+++ b/src/snapshot/startup-serializer.cc
@@ -73,10 +73,6 @@
Address original_address = Foreign::cast(info->getter())->foreign_address();
Foreign::cast(info->js_getter())->set_foreign_address(original_address);
accessor_infos_.Add(info);
- } else if (obj->IsScript() && Script::cast(obj)->IsUserJavaScript()) {
- // Reset type for user scripts embedded in the start-up snapshot to hide
- // them from the debugger.
- Script::cast(obj)->set_type(Script::TYPE_EXTENSION);
}
// Object has not yet been serialized. Serialize it here.
« no previous file with comments | « src/debug/debug.cc ('k') | test/cctest/test-serialize.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698