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

Side by Side Diff: cc/render_surface.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/render_pass_unittest.cc ('k') | cc/render_surface_filters.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 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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/render_surface.h" 5 #include "cc/render_surface.h"
8 6
9 #include "cc/layer.h" 7 #include "cc/layer.h"
10 #include "cc/math_util.h" 8 #include "cc/math_util.h"
11 #include <public/WebTransformationMatrix.h> 9 #include <public/WebTransformationMatrix.h>
12 10
13 using WebKit::WebTransformationMatrix; 11 using WebKit::WebTransformationMatrix;
14 12
15 namespace cc { 13 namespace cc {
16 14
(...skipping 13 matching lines...) Expand all
30 28
31 gfx::RectF RenderSurface::drawableContentRect() const 29 gfx::RectF RenderSurface::drawableContentRect() const
32 { 30 {
33 gfx::RectF drawableContentRect = MathUtil::mapClippedRect(m_drawTransform, m _contentRect); 31 gfx::RectF drawableContentRect = MathUtil::mapClippedRect(m_drawTransform, m _contentRect);
34 if (m_owningLayer->hasReplica()) 32 if (m_owningLayer->hasReplica())
35 drawableContentRect.Union(MathUtil::mapClippedRect(m_replicaDrawTransfor m, m_contentRect)); 33 drawableContentRect.Union(MathUtil::mapClippedRect(m_replicaDrawTransfor m, m_contentRect));
36 return drawableContentRect; 34 return drawableContentRect;
37 } 35 }
38 36
39 } // namespace cc 37 } // namespace cc
OLDNEW
« no previous file with comments | « cc/render_pass_unittest.cc ('k') | cc/render_surface_filters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698