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

Unified Diff: third_party/WebKit/WebCore/rendering/RenderObject.cpp

Issue 39293: WebKit merge 41447:41498 [third_party/WebKit] (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove CRLF Created 11 years, 10 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/WebCore/rendering/RenderObject.cpp
===================================================================
--- third_party/WebKit/WebCore/rendering/RenderObject.cpp (revision 11154)
+++ third_party/WebKit/WebCore/rendering/RenderObject.cpp (working copy)
@@ -1688,7 +1688,7 @@
containerTransform.translate(offsetInContainer.width(), offsetInContainer.height());
RenderLayer* layer;
if (hasLayer() && (layer = toRenderBox(this)->layer()) && layer->transform())
- containerTransform.multLeft(*layer->transform());
+ containerTransform.multLeft(layer->currentTransform());
if (containerObject && containerObject->style()->hasPerspective()) {
// Perpsective on the container affects us, so we have to factor it in here.
@@ -1839,10 +1839,9 @@
// FIXME: Would like to do this in RenderBoxModelObject, but the timing is so complicated that this can't easily
// be moved into RenderBoxModelObject::destroy.
- RenderArena* arena = renderArena();
if (hasLayer())
- toRenderBoxModelObject(this)->layer()->destroy(arena);
- arenaDelete(arena, this);
+ toRenderBoxModelObject(this)->destroyLayer();
+ arenaDelete(renderArena(), this);
}
void RenderObject::arenaDelete(RenderArena* arena, void* base)
« no previous file with comments | « third_party/WebKit/WebCore/rendering/RenderLayer.cpp ('k') | third_party/WebKit/WebCore/rendering/RenderText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698