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

Unified Diff: runtime/embedders/openglui/common/image_cache.cc

Issue 13345002: Cleaned up OpenGLUI samples and added Blasteroids. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
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
« no previous file with comments | « runtime/embedders/openglui/common/gl.dart ('k') | runtime/embedders/openglui/common/vm_glue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/embedders/openglui/common/image_cache.cc
===================================================================
--- runtime/embedders/openglui/common/image_cache.cc (revision 20700)
+++ runtime/embedders/openglui/common/image_cache.cc (working copy)
@@ -18,7 +18,6 @@
}
const SkBitmap* ImageCache::GetImage_(const char* src_url) {
-fprintf(stderr, "ImageCache::GetImage(%s)\n", src_url);
if (strncmp(src_url, "context2d://", 12) == 0) {
int handle = atoi(src_url + 12);
CanvasContext* otherContext = Context2D(handle);
@@ -35,21 +34,18 @@
}
int ImageCache::GetWidth_(const char* src_url) {
-fprintf(stderr, "ImageCache::GetWidth(%s)\n", src_url);
const SkBitmap* image = GetImage(src_url);
if (image == NULL) return 0;
return image->width();
}
int ImageCache::GetHeight_(const char* src_url) {
-fprintf(stderr, "ImageCache::GetHeight(%s)\n", src_url);
const SkBitmap* image = GetImage(src_url);
if (image == NULL) return 0;
return image->height();
}
SkBitmap* ImageCache::Load(const char* src_url) {
-fprintf(stderr, "ImageCache::Load(%s)\n", src_url);
SkBitmap *bm = NULL;
const char* filepath;
if (strncmp(src_url, "file://", 7) == 0) {
« no previous file with comments | « runtime/embedders/openglui/common/gl.dart ('k') | runtime/embedders/openglui/common/vm_glue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698