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

Unified Diff: cc/layers/scrollbar_layer.cc

Issue 12704023: Remove CalculateContentsScale max texture size DCHECK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: cc/layers/scrollbar_layer.cc
diff --git a/cc/layers/scrollbar_layer.cc b/cc/layers/scrollbar_layer.cc
index 7dac99e60a091e1f728f3c53fd53372a780c6a89..be1ecfed0e5d5ac3b2b958bf1879c6ff462d0136 100644
--- a/cc/layers/scrollbar_layer.cc
+++ b/cc/layers/scrollbar_layer.cc
@@ -103,8 +103,6 @@ void ScrollbarLayer::CalculateContentsScale(float ideal_contents_scale,
contents_scale_x,
contents_scale_y,
content_bounds);
- DCHECK_LE(content_bounds->width(), MaxTextureSize());
- DCHECK_LE(content_bounds->height(), MaxTextureSize());
jamesr 2013/03/25 21:45:36 Can you leave these DCHECKs enabled when not in so
}
void ScrollbarLayer::PushPropertiesTo(LayerImpl* layer) {

Powered by Google App Engine
This is Rietveld 408576698