Index: cc/layers/layer_impl.h |
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h |
index 980390224342fbe7b1dc03de3aa5a53ff557f4ff..8239fc847f5d53ae111c8a5c434209610c000005 100644 |
--- a/cc/layers/layer_impl.h |
+++ b/cc/layers/layer_impl.h |
@@ -247,11 +247,7 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver, |
virtual void DidDraw(ResourceProvider* resource_provider); |
// Verify that the resource ids in the quad are valid. |
- void ValidateQuadResources(DrawQuad* quad) const { |
-#if DCHECK_IS_ON() |
danakj
2015/05/28 17:10:05
The idea here is that the function is a no-op in t
vmpstr
2015/05/28 18:38:45
OK. I'm not too sure how much of an impact this ma
|
- ValidateQuadResourcesInternal(quad); |
-#endif |
- } |
+ void ValidateQuadResources(DrawQuad* quad) const; |
virtual void GetContentsResourceId(ResourceId* resource_id, |
gfx::Size* resource_size) const; |
@@ -691,8 +687,6 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver, |
gfx::Rect GetScaledEnclosingRectInTargetSpace(float scale) const; |
private: |
- void ValidateQuadResourcesInternal(DrawQuad* quad) const; |
- |
void PushScrollOffset(const gfx::ScrollOffset* scroll_offset); |
// If the new scroll offset is assigned from the root scroll offset delegate, |
// LayerImpl won't inform the root scroll offset delegate about the scroll |