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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleResolverStats.cpp

Issue 1381023002: NOCOMMIT: Blink tracing now uses base Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: third_party/WebKit/Source/core/css/resolver/StyleResolverStats.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolverStats.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResolverStats.cpp
index 7076fe5d777a5274845ed7e6cb8ac173b2c91a63..1f0094e1682dd744419c20bf211210fd2d1d18da 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolverStats.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolverStats.cpp
@@ -64,9 +64,9 @@ bool StyleResolverStats::allCountersEnabled() const
return allCountersEnabled;
}
-PassRefPtr<TracedValue> StyleResolverStats::toTracedValue() const
+scoped_refptr<TracedValue> StyleResolverStats::toTracedValue() const
{
- RefPtr<TracedValue> tracedValue = TracedValue::create();
+ scoped_refptr<TracedValue> tracedValue = TracedValue::create();
tracedValue->setInteger("sharedStyleLookups", sharedStyleLookups);
tracedValue->setInteger("sharedStyleCandidates", sharedStyleCandidates);
tracedValue->setInteger("sharedStyleFound", sharedStyleFound);
@@ -88,7 +88,7 @@ PassRefPtr<TracedValue> StyleResolverStats::toTracedValue() const
tracedValue->setInteger("elementsStyled", elementsStyled);
tracedValue->setInteger("pseudoElementsStyled", pseudoElementsStyled);
tracedValue->setInteger("baseStylesUsed", baseStylesUsed);
- return tracedValue.release();
+ return tracedValue;
}

Powered by Google App Engine
This is Rietveld 408576698