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

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

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed config.gni. Minor cleanups. 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 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 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 updateDirectCompositingReasons(RenderLayer*); 169 void updateDirectCompositingReasons(RenderLayer*);
170 170
171 void setOverlayLayer(GraphicsLayer*); 171 void setOverlayLayer(GraphicsLayer*);
172 172
173 bool inOverlayFullscreenVideo() const { return m_inOverlayFullscreenVideo; } 173 bool inOverlayFullscreenVideo() const { return m_inOverlayFullscreenVideo; }
174 174
175 private: 175 private:
176 class OverlapMap; 176 class OverlapMap;
177 177
178 #if ASSERT_ENABLED 178 #if ENABLE(ASSERT)
179 void assertNoUnresolvedDirtyBits(); 179 void assertNoUnresolvedDirtyBits();
180 #endif 180 #endif
181 181
182 // Make updates to the layer based on viewport-constrained properties such a s position:fixed. This can in turn affect 182 // Make updates to the layer based on viewport-constrained properties such a s position:fixed. This can in turn affect
183 // compositing. 183 // compositing.
184 bool updateLayerIfViewportConstrained(RenderLayer*); 184 bool updateLayerIfViewportConstrained(RenderLayer*);
185 185
186 // GraphicsLayerClient implementation 186 // GraphicsLayerClient implementation
187 virtual void notifyAnimationStarted(const GraphicsLayer*, double) OVERRIDE { } 187 virtual void notifyAnimationStarted(const GraphicsLayer*, double) OVERRIDE { }
188 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsL ayerPaintingPhase, const IntRect&) OVERRIDE; 188 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsL ayerPaintingPhase, const IntRect&) OVERRIDE;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 #if USE(RUBBER_BANDING) 259 #if USE(RUBBER_BANDING)
260 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; 260 OwnPtr<GraphicsLayer> m_layerForOverhangShadow;
261 #endif 261 #endif
262 262
263 bool m_inOverlayFullscreenVideo; 263 bool m_inOverlayFullscreenVideo;
264 }; 264 };
265 265
266 } // namespace WebCore 266 } // namespace WebCore
267 267
268 #endif // RenderLayerCompositor_h 268 #endif // RenderLayerCompositor_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698