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

Unified Diff: src/heap-profiler.cc

Issue 201140: Fix Windows build. I'm wondering, how does gcc accept such code? (Closed)
Patch Set: Created 11 years, 3 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: src/heap-profiler.cc
diff --git a/src/heap-profiler.cc b/src/heap-profiler.cc
index c8f590563266fdde1c7c68a34f830baeaeb706f5..8422fcf63c5f05374663778f1e3545d38d548014 100644
--- a/src/heap-profiler.cc
+++ b/src/heap-profiler.cc
@@ -192,7 +192,7 @@ inline ClustersCoarser::ClusterBackRefs::ClusterBackRefs(
inline ClustersCoarser::ClusterBackRefs::ClusterBackRefs(
- const ClustersCoarser::ClusterBackRefs::ClusterBackRefs& src)
+ const ClustersCoarser::ClusterBackRefs& src)
: cluster(src.cluster), refs(src.refs.capacity()) {
refs.AddAll(src.refs);
}
@@ -200,7 +200,7 @@ inline ClustersCoarser::ClusterBackRefs::ClusterBackRefs(
inline ClustersCoarser::ClusterBackRefs::ClusterBackRefs&
ClustersCoarser::ClusterBackRefs::operator=(
- const ClustersCoarser::ClusterBackRefs::ClusterBackRefs& src) {
+ const ClustersCoarser::ClusterBackRefs& src) {
if (this == &src) return *this;
cluster = src.cluster;
refs.Clear();
@@ -210,8 +210,8 @@ ClustersCoarser::ClusterBackRefs::operator=(
inline int ClustersCoarser::ClusterBackRefs::Compare(
- const ClustersCoarser::ClusterBackRefs::ClusterBackRefs& a,
- const ClustersCoarser::ClusterBackRefs::ClusterBackRefs& b) {
+ const ClustersCoarser::ClusterBackRefs& a,
+ const ClustersCoarser::ClusterBackRefs& b) {
int cmp = JSObjectsCluster::CompareConstructors(a.cluster, b.cluster);
if (cmp != 0) return cmp;
if (a.refs.length() < b.refs.length()) return -1;
« 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