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

Unified Diff: cc/CCLayerQuad.cpp

Issue 10942040: Fix CC*Renderer and CC*LayerImpl to compile with Clang (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
« no previous file with comments | « cc/CCLayerQuad.h ('k') | cc/CCLayerSorter.h » ('j') | cc/CCTiledLayerImpl.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCLayerQuad.cpp
diff --git a/cc/CCLayerQuad.cpp b/cc/CCLayerQuad.cpp
index b51e425feb5bc8ea5878c9919f4840d3c2df63ce..96426225d3e6fef2143bc931e57b2b9ed60ea094 100644
--- a/cc/CCLayerQuad.cpp
+++ b/cc/CCLayerQuad.cpp
@@ -37,6 +37,14 @@ CCLayerQuad::CCLayerQuad(const FloatQuad& quad)
m_bottom.scale(sign);
}
+CCLayerQuad::CCLayerQuad(const Edge& left, const Edge& top, const Edge& right, const Edge& bottom)
+ : m_left(left)
+ , m_top(top)
+ , m_right(right)
+ , m_bottom(bottom)
+{
+}
+
FloatQuad CCLayerQuad::floatQuad() const
{
return FloatQuad(m_left.intersect(m_top),
« no previous file with comments | « cc/CCLayerQuad.h ('k') | cc/CCLayerSorter.h » ('j') | cc/CCTiledLayerImpl.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698