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

Side by Side Diff: Source/core/rendering/RenderLayerModelObject.cpp

Issue 342203004: Get rid of compositing and squashing helper methods on RenderLayerModelObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed compile. Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) 4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com)
5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) 5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com)
6 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
7 * Copyright (C) 2010, 2012 Google Inc. All rights reserved. 7 * Copyright (C) 2010, 2012 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 // to marking entire layers instead. This may sometimes mark more th an necessary (when 179 // to marking entire layers instead. This may sometimes mark more th an necessary (when
180 // a layer is made of disjoint objects) but in practice is a signifi cant performance 180 // a layer is made of disjoint objects) but in practice is a signifi cant performance
181 // savings. 181 // savings.
182 layer()->addLayerHitTestRects(rects); 182 layer()->addLayerHitTestRects(rects);
183 } 183 }
184 } else { 184 } else {
185 RenderObject::addLayerHitTestRects(rects, currentLayer, layerOffset, con tainerRect); 185 RenderObject::addLayerHitTestRects(rects, currentLayer, layerOffset, con tainerRect);
186 } 186 }
187 } 187 }
188 188
189 CompositedLayerMappingPtr RenderLayerModelObject::compositedLayerMapping() const
190 {
191 return m_layer ? m_layer->compositedLayerMapping() : 0;
192 }
193
194 bool RenderLayerModelObject::hasCompositedLayerMapping() const
195 {
196 return m_layer ? m_layer->hasCompositedLayerMapping() : false;
197 }
198
199 CompositedLayerMapping* RenderLayerModelObject::groupedMapping() const
200 {
201 return m_layer ? m_layer->groupedMapping() : 0;
202 }
203
204 } // namespace WebCore 189 } // namespace WebCore
205 190
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderLayerModelObject.h ('k') | Source/core/rendering/RenderLayerRepainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698