Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
index 6b16e5a11a8659c4bceacf1ed27419fd3037410a..078c08515a51a0ff2b76734582442ea2795da711 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
@@ -1150,9 +1150,9 @@ void addJsonObjectForPoint(TracedValue* value, const char* name, const T& point) |
value->endDictionary(); |
} |
-static PassRefPtr<TraceEvent::ConvertableToTraceFormat> jsonObjectForPaintInvalidationInfo(const LayoutRect& rect, const String& invalidationReason) |
+static scoped_refptr<base::trace_event::ConvertableToTraceFormat> jsonObjectForPaintInvalidationInfo(const LayoutRect& rect, const String& invalidationReason) |
{ |
- RefPtr<TracedValue> value = TracedValue::create(); |
+ scoped_refptr<TracedValue> value = TracedValue::create(); |
addJsonObjectForRect(value.get(), "rect", rect); |
value->setString("invalidation_reason", invalidationReason); |
return value; |
@@ -1270,9 +1270,9 @@ void LayoutObject::invalidatePaintOfSubtreesIfNeeded(PaintInvalidationState& chi |
} |
} |
-static PassRefPtr<TraceEvent::ConvertableToTraceFormat> jsonObjectForOldAndNewRects(const LayoutRect& oldRect, const LayoutPoint& oldLocation, const LayoutRect& newRect, const LayoutPoint& newLocation) |
+static scoped_refptr<base::trace_event::ConvertableToTraceFormat> jsonObjectForOldAndNewRects(const LayoutRect& oldRect, const LayoutPoint& oldLocation, const LayoutRect& newRect, const LayoutPoint& newLocation) |
{ |
- RefPtr<TracedValue> value = TracedValue::create(); |
+ scoped_refptr<TracedValue> value = TracedValue::create(); |
addJsonObjectForRect(value.get(), "oldRect", oldRect); |
addJsonObjectForPoint(value.get(), "oldLocation", oldLocation); |
addJsonObjectForRect(value.get(), "newRect", newRect); |