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

Unified Diff: Source/core/dom/Range.cpp

Issue 1104243003: Oilpan: put ClientRect(List) on the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove transition types uses also Created 5 years, 8 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: Source/core/dom/Range.cpp
diff --git a/Source/core/dom/Range.cpp b/Source/core/dom/Range.cpp
index ae987935b95bca4f3fecb9176a0bd5425c086cf3..e777350724f99d3ecc62789be5dc047c97a7e8cc 100644
--- a/Source/core/dom/Range.cpp
+++ b/Source/core/dom/Range.cpp
@@ -1630,7 +1630,7 @@ void Range::expand(const String& unit, ExceptionState& exceptionState)
setEnd(end.deepEquivalent().containerNode(), end.deepEquivalent().computeOffsetInContainerNode(), exceptionState);
}
-PassRefPtrWillBeRawPtr<ClientRectList> Range::getClientRects() const
+ClientRectList* Range::getClientRects() const
{
m_ownerDocument->updateLayoutIgnorePendingStylesheets();
@@ -1640,7 +1640,7 @@ PassRefPtrWillBeRawPtr<ClientRectList> Range::getClientRects() const
return ClientRectList::create(quads);
}
-PassRefPtrWillBeRawPtr<ClientRect> Range::getBoundingClientRect() const
+ClientRect* Range::getBoundingClientRect() const
{
return ClientRect::create(boundingRect());
}

Powered by Google App Engine
This is Rietveld 408576698