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

Side by Side Diff: cc/CCTiledLayerImpl.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/CCTiledLayerImpl.h ('k') | cc/CCVideoLayerImpl.h » ('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" 5 #include "config.h"
6 6
7 #if USE(ACCELERATED_COMPOSITING) 7 #if USE(ACCELERATED_COMPOSITING)
8 8
9 #include "CCTiledLayerImpl.h" 9 #include "CCTiledLayerImpl.h"
10 10
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 if (opaque()) 207 if (opaque())
208 return visibleContentRect(); 208 return visibleContentRect();
209 return m_tiler->opaqueRegionInContentRect(visibleContentRect()); 209 return m_tiler->opaqueRegionInContentRect(visibleContentRect());
210 } 210 }
211 211
212 void CCTiledLayerImpl::didLoseContext() 212 void CCTiledLayerImpl::didLoseContext()
213 { 213 {
214 m_tiler->reset(); 214 m_tiler->reset();
215 } 215 }
216 216
217 const char* CCTiledLayerImpl::layerTypeAsString() const
218 {
219 return "ContentLayer";
jamesr 2012/09/19 21:25:49 lol, ContentLayer
220 }
221
217 } // namespace cc 222 } // namespace cc
218 223
219 #endif // USE(ACCELERATED_COMPOSITING) 224 #endif // USE(ACCELERATED_COMPOSITING)
OLDNEW
« no previous file with comments | « cc/CCTiledLayerImpl.h ('k') | cc/CCVideoLayerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698