| 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 d9fa59774a3cc478e23c739770049eea7b1ddcf1..d7a5137cfa70455a2003e11ae118239c48eafe53 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -1187,7 +1187,7 @@ static PassOwnPtr<TracedValue> jsonObjectForPaintInvalidationInfo(const LayoutRe
|
| OwnPtr<TracedValue> value = TracedValue::create();
|
| addJsonObjectForRect(value.get(), "rect", rect);
|
| value->setString("invalidation_reason", invalidationReason);
|
| - return value.release();
|
| + return value;
|
| }
|
|
|
| static void invalidatePaintRectangleOnWindow(const LayoutBoxModelObject& paintInvalidationContainer, const IntRect& dirtyRect)
|
| @@ -1338,7 +1338,7 @@ static PassOwnPtr<TracedValue> jsonObjectForOldAndNewRects(const LayoutRect& old
|
| addJsonObjectForPoint(value.get(), "oldLocation", oldLocation);
|
| addJsonObjectForRect(value.get(), "newRect", newRect);
|
| addJsonObjectForPoint(value.get(), "newLocation", newLocation);
|
| - return value.release();
|
| + return value;
|
| }
|
|
|
| LayoutRect LayoutObject::selectionRectInViewCoordinates() const
|
|
|