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

Side by Side Diff: Source/core/rendering/compositing/CompositedLayerMapping.h

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. 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) 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2009, 2010, 2011 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 168
169 void finishAccumulatingSquashingLayers(size_t nextSquashedLayerIndex); 169 void finishAccumulatingSquashingLayers(size_t nextSquashedLayerIndex);
170 void updateRenderingContext(); 170 void updateRenderingContext();
171 void updateShouldFlattenTransform(); 171 void updateShouldFlattenTransform();
172 172
173 // GraphicsLayerClient interface 173 // GraphicsLayerClient interface
174 virtual void notifyAnimationStarted(const GraphicsLayer*, double monotonicTi me) OVERRIDE; 174 virtual void notifyAnimationStarted(const GraphicsLayer*, double monotonicTi me) OVERRIDE;
175 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsL ayerPaintingPhase, const IntRect& clip) OVERRIDE; 175 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsL ayerPaintingPhase, const IntRect& clip) OVERRIDE;
176 virtual bool isTrackingRepaints() const OVERRIDE; 176 virtual bool isTrackingRepaints() const OVERRIDE;
177 177
178 #ifndef NDEBUG 178 #if ENABLE(ASSERT)
179 virtual void verifyNotPainting() OVERRIDE; 179 virtual void verifyNotPainting() OVERRIDE;
180 #endif 180 #endif
181 181
182 LayoutRect contentsBox() const; 182 LayoutRect contentsBox() const;
183 183
184 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo ntalScrollbar.get(); } 184 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo ntalScrollbar.get(); }
185 GraphicsLayer* layerForVerticalScrollbar() const { return m_layerForVertical Scrollbar.get(); } 185 GraphicsLayer* layerForVerticalScrollbar() const { return m_layerForVertical Scrollbar.get(); }
186 GraphicsLayer* layerForScrollCorner() const { return m_layerForScrollCorner. get(); } 186 GraphicsLayer* layerForScrollCorner() const { return m_layerForScrollCorner. get(); }
187 187
188 // Removes the overflow controls host layer from its parent and positions it 188 // Removes the overflow controls host layer from its parent and positions it
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 unsigned m_isMainFrameRenderViewLayer : 1; 414 unsigned m_isMainFrameRenderViewLayer : 1;
415 unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1; 415 unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1;
416 unsigned m_requiresOwnBackingStoreForAncestorReasons : 1; 416 unsigned m_requiresOwnBackingStoreForAncestorReasons : 1;
417 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; 417 unsigned m_backgroundLayerPaintsFixedRootBackground : 1;
418 unsigned m_scrollingContentsAreEmpty : 1; 418 unsigned m_scrollingContentsAreEmpty : 1;
419 }; 419 };
420 420
421 } // namespace WebCore 421 } // namespace WebCore
422 422
423 #endif // CompositedLayerMapping_h 423 #endif // CompositedLayerMapping_h
OLDNEW
« no previous file with comments | « Source/core/rendering/TextAutosizer.cpp ('k') | Source/core/rendering/compositing/CompositedLayerMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698