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

Side by Side Diff: cc/layer_quad.cc

Issue 11410021: Remove WTF and WebCore from cc/ and webkit/compositor_bindings/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix content_browsertests Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/layer_iterator_unittest.cc ('k') | cc/layer_quad_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h"
6
7 #include "cc/layer_quad.h" 5 #include "cc/layer_quad.h"
8 6
9 #include "base/logging.h" 7 #include "base/logging.h"
10 #include "ui/gfx/quad_f.h" 8 #include "ui/gfx/quad_f.h"
11 9
12 namespace cc { 10 namespace cc {
13 11
14 LayerQuad::Edge::Edge(const gfx::PointF& p, const gfx::PointF& q) 12 LayerQuad::Edge::Edge(const gfx::PointF& p, const gfx::PointF& q)
15 { 13 {
16 DCHECK(p != q); 14 DCHECK(p != q);
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 flattened[5] = m_top.z(); 61 flattened[5] = m_top.z();
64 flattened[6] = m_right.x(); 62 flattened[6] = m_right.x();
65 flattened[7] = m_right.y(); 63 flattened[7] = m_right.y();
66 flattened[8] = m_right.z(); 64 flattened[8] = m_right.z();
67 flattened[9] = m_bottom.x(); 65 flattened[9] = m_bottom.x();
68 flattened[10] = m_bottom.y(); 66 flattened[10] = m_bottom.y();
69 flattened[11] = m_bottom.z(); 67 flattened[11] = m_bottom.z();
70 } 68 }
71 69
72 } // namespace cc 70 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layer_iterator_unittest.cc ('k') | cc/layer_quad_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698