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

Unified Diff: src/android/SkBitmapRegionDecoderPriv.h

Issue 1443033002: Remove dependency on src/android from dm and nanobench (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 1 month 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
« bench/BitmapRegionDecoderBench.cpp ('K') | « gyp/visualbench.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/android/SkBitmapRegionDecoderPriv.h
diff --git a/src/android/SkBitmapRegionDecoderPriv.h b/src/android/SkBitmapRegionDecoderPriv.h
index d7423b05fd5fed12b60c3523a49aab5c3dc52128..baa891e9c31397f13b78bbda96c25f37e00572ae 100644
--- a/src/android/SkBitmapRegionDecoderPriv.h
+++ b/src/android/SkBitmapRegionDecoderPriv.h
@@ -8,10 +8,6 @@
#ifndef SkBitmapRegionDecoderPriv_DEFINED
#define SkBitmapRegionDecoderPriv_DEFINED
-inline float get_scale_from_sample_size(uint32_t sampleSize) {
- return 1.0f / (float) sampleSize;
-}
-
enum SubsetType {
kFullyInside_SubsetType,
kPartiallyInside_SubsetType,
« bench/BitmapRegionDecoderBench.cpp ('K') | « gyp/visualbench.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698