Chromium Code Reviews

Unified Diff: gfx/skbitmap_operations.h

Issue 2967008: Add a function to scroll a platform canvas. This uses the platform scroll... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « gfx/gfx.gyp ('k') | no next file » | 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 52180)
+++ gfx/skbitmap_operations.h (working copy)
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef APP_GFX_SKBITMAP_OPERATIONS_H_
-#define APP_GFX_SKBITMAP_OPERATIONS_H_
+#ifndef GFX_SKBITMAP_OPERATIONS_H_
+#define GFX_SKBITMAP_OPERATIONS_H_
#include "gfx/color_utils.h"
#include "testing/gtest/include/gtest/gtest_prod.h"
@@ -81,6 +81,7 @@
// 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.
@@ -88,4 +89,4 @@
FRIEND_TEST(SkBitmapOperationsTest, DownsampleByTwoSmall);
};
-#endif // APP_GFX_SKBITMAP_OPERATIONS_H_
+#endif // GFX_SKBITMAP_OPERATIONS_H_
« no previous file with comments | « gfx/gfx.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine