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

Side by Side Diff: skia/ext/image_operations.cc

Issue 2293583002: Change includes of histogram.h to histogram_macros.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « net/proxy/proxy_script_fetcher_impl.cc ('k') | skia/ext/skia_histogram.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #define _USE_MATH_DEFINES 5 #define _USE_MATH_DEFINES
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
11 #include <cmath> 11 #include <cmath>
12 #include <limits> 12 #include <limits>
13 13
14 #include "skia/ext/image_operations.h" 14 #include "skia/ext/image_operations.h"
15 15
16 // TODO(pkasting): skia/ext should not depend on base/! 16 // TODO(pkasting): skia/ext should not depend on base/!
17 #include "base/containers/stack_container.h" 17 #include "base/containers/stack_container.h"
18 #include "base/logging.h" 18 #include "base/logging.h"
19 #include "base/macros.h" 19 #include "base/macros.h"
20 #include "base/metrics/histogram.h" 20 #include "base/metrics/histogram_macros.h"
21 #include "base/time/time.h" 21 #include "base/time/time.h"
22 #include "base/trace_event/trace_event.h" 22 #include "base/trace_event/trace_event.h"
23 #include "build/build_config.h" 23 #include "build/build_config.h"
24 #include "skia/ext/convolver.h" 24 #include "skia/ext/convolver.h"
25 #include "third_party/skia/include/core/SkColorPriv.h" 25 #include "third_party/skia/include/core/SkColorPriv.h"
26 #include "third_party/skia/include/core/SkRect.h" 26 #include "third_party/skia/include/core/SkRect.h"
27 27
28 namespace skia { 28 namespace skia {
29 29
30 namespace { 30 namespace {
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 SkBitmap ImageOperations::Resize(const SkBitmap& source, 396 SkBitmap ImageOperations::Resize(const SkBitmap& source,
397 ResizeMethod method, 397 ResizeMethod method,
398 int dest_width, int dest_height, 398 int dest_width, int dest_height,
399 SkBitmap::Allocator* allocator) { 399 SkBitmap::Allocator* allocator) {
400 SkIRect dest_subset = { 0, 0, dest_width, dest_height }; 400 SkIRect dest_subset = { 0, 0, dest_width, dest_height };
401 return Resize(source, method, dest_width, dest_height, dest_subset, 401 return Resize(source, method, dest_width, dest_height, dest_subset,
402 allocator); 402 allocator);
403 } 403 }
404 404
405 } // namespace skia 405 } // namespace skia
OLDNEW
« no previous file with comments | « net/proxy/proxy_script_fetcher_impl.cc ('k') | skia/ext/skia_histogram.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698