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

Unified Diff: Source/core/dom/Element.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/Element.cpp
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
index c25a6fe5afcad58959fe66b591d5766b5d0005e2..38eed3a7dbb0036e1d860ef39ddd1994994fa108 100644
--- a/Source/core/dom/Element.cpp
+++ b/Source/core/dom/Element.cpp
@@ -973,7 +973,7 @@ IntRect Element::boundsInViewportSpace()
return view->soonToBeRemovedContentsToUnscaledViewport(result);
}
-PassRefPtrWillBeRawPtr<ClientRectList> Element::getClientRects()
+ClientRectList* Element::getClientRects()
{
document().updateLayoutIgnorePendingStylesheets();
@@ -990,7 +990,7 @@ PassRefPtrWillBeRawPtr<ClientRectList> Element::getClientRects()
return ClientRectList::create(quads);
}
-PassRefPtrWillBeRawPtr<ClientRect> Element::getBoundingClientRect()
+ClientRect* Element::getBoundingClientRect()
{
document().updateLayoutIgnorePendingStylesheets();

Powered by Google App Engine
This is Rietveld 408576698