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

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

Issue 21184: WebKit merge 40722:40785 (part 1) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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/RenderLayer.cpp
===================================================================
--- third_party/WebKit/WebCore/rendering/RenderLayer.cpp (revision 9391)
+++ third_party/WebKit/WebCore/rendering/RenderLayer.cpp (working copy)
@@ -78,6 +78,7 @@
#include "TransformationMatrix.h"
#include "TranslateTransformOperation.h"
#include <wtf/StdLibExtras.h>
+#include <wtf/UnusedParam.h>
#if USE(ACCELERATED_COMPOSITING)
#include "RenderLayerBacking.h"
@@ -326,7 +327,7 @@
if (hasTransform) {
RenderBox* box = renderBox();
ASSERT(box);
- m_transform->reset();
+ m_transform->makeIdentity();
box->style()->applyTransform(*m_transform, box->borderBoxRect().size());
}
}
« no previous file with comments | « third_party/WebKit/WebCore/rendering/RenderLayer.h ('k') | third_party/WebKit/WebCore/rendering/RenderLayerBacking.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698