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

Unified Diff: gfx/skbitmap_operations.h

Issue 661237: This adds in the ability for Chrome to generate windows with snapshots of all... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 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 | « chrome/renderer/render_widget.cc ('k') | views/widget/widget_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gfx/skbitmap_operations.h
===================================================================
--- gfx/skbitmap_operations.h (revision 45523)
+++ gfx/skbitmap_operations.h (working copy)
@@ -78,16 +78,14 @@
static SkBitmap DownsampleByTwoUntilSize(const SkBitmap& bitmap,
int min_w, int min_h);
- private:
- SkBitmapOperations(); // Class for scoping only.
-
// Makes a bitmap half has large in each direction by averaging groups of
// 4 pixels. This is one step in generating a mipmap.
static SkBitmap DownsampleByTwo(const SkBitmap& bitmap);
+ private:
+ SkBitmapOperations(); // Class for scoping only.
FRIEND_TEST(SkBitmapOperationsTest, DownsampleByTwo);
FRIEND_TEST(SkBitmapOperationsTest, DownsampleByTwoSmall);
};
#endif // APP_GFX_SKBITMAP_OPERATIONS_H_
-
« no previous file with comments | « chrome/renderer/render_widget.cc ('k') | views/widget/widget_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698