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

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: Re-enable another test 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
« no previous file with comments | « android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
danakj 2013/03/25 21:52:10 How about doing these if you're not in solid color
- DCHECK_LE(content_bounds->height(), MaxTextureSize());
}
void ScrollbarLayer::PushPropertiesTo(LayerImpl* layer) {
« no previous file with comments | « android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698