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

Unified Diff: cc/resources/ui_resource_client.h

Issue 2278083002: Revert of Move scaling of ui resources for scrollbars to the time of upload (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scrollbarpixeltests
Patch Set: Created 4 years, 4 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 | « cc/layers/scrollbar_layer_unittest.cc ('k') | cc/test/data/spiral_64_scale.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/ui_resource_client.h
diff --git a/cc/resources/ui_resource_client.h b/cc/resources/ui_resource_client.h
index c935ded6fcb105818b672ac5fd60791e435ae7aa..07d5fd8997f0b6bfabcf20cf9f817148285cd1f0 100644
--- a/cc/resources/ui_resource_client.h
+++ b/cc/resources/ui_resource_client.h
@@ -23,10 +23,6 @@
// delete a UIResourceClient object after DeleteUIResource has been called for
// all IDs associated with it. A valid bitmap always must be returned but it
// doesn't need to be the same size or format as the original.
- // The bitmap's dimensions must *not* exceed the maximum texture size
- // supported by the GPU. For resources that are not bigger than the viewport
- // this should not be a problem, but for much larger resources, the caller is
- // responsible for ensuring this.
virtual UIResourceBitmap GetBitmap(UIResourceId uid,
bool resource_lost) = 0;
virtual ~UIResourceClient() {}
« no previous file with comments | « cc/layers/scrollbar_layer_unittest.cc ('k') | cc/test/data/spiral_64_scale.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698