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

Unified Diff: tools/gn/value.cc

Issue 445393004: GN: Remove Value::RecursivelySetOrigin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | « tools/gn/value.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/value.cc
diff --git a/tools/gn/value.cc b/tools/gn/value.cc
index b85eb2d83023c3dc07ef1e7d34bb17d544e57777..e864a300a2f0efbbf970305f6e76fb3dd9c37d0b 100644
--- a/tools/gn/value.cc
+++ b/tools/gn/value.cc
@@ -88,14 +88,6 @@ Value& Value::operator=(const Value& other) {
return *this;
}
-void Value::RecursivelySetOrigin(const ParseNode* origin) {
- set_origin(origin);
- if (type_ == Value::LIST) {
- for (size_t i = 0; i < list_value_.size(); i++)
- list_value_[i].RecursivelySetOrigin(origin);
- }
-}
-
// static
const char* Value::DescribeType(Type t) {
switch (t) {
« no previous file with comments | « tools/gn/value.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698