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

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

Issue 18031009: Use a direct include of time headers in rlz/, skia/, sql/, sync/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « rlz/lib/financial_ping_test.cc ('k') | skia/ext/image_operations.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 #include <string.h> 5 #include <string.h>
6 #include <time.h> 6 #include <time.h>
7 #include <algorithm> 7 #include <algorithm>
8 #include <numeric> 8 #include <numeric>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/time.h" 13 #include "base/time/time.h"
14 #include "skia/ext/convolver.h" 14 #include "skia/ext/convolver.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 #include "third_party/skia/include/core/SkBitmap.h" 16 #include "third_party/skia/include/core/SkBitmap.h"
17 #include "third_party/skia/include/core/SkColorPriv.h" 17 #include "third_party/skia/include/core/SkColorPriv.h"
18 #include "third_party/skia/include/core/SkRect.h" 18 #include "third_party/skia/include/core/SkRect.h"
19 #include "third_party/skia/include/core/SkTypes.h" 19 #include "third_party/skia/include/core/SkTypes.h"
20 20
21 namespace skia { 21 namespace skia {
22 22
23 namespace { 23 namespace {
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 fp_gradient_kernel.end()), -1.5f); 520 fp_gradient_kernel.end()), -1.5f);
521 EXPECT_LT(*std::min_element(fp_gradient_kernel.begin(), 521 EXPECT_LT(*std::min_element(fp_gradient_kernel.begin(),
522 fp_gradient_kernel.end()), 0.0f); 522 fp_gradient_kernel.end()), 0.0f);
523 EXPECT_LT(*std::max_element(fp_gradient_kernel.begin(), 523 EXPECT_LT(*std::max_element(fp_gradient_kernel.begin(),
524 fp_gradient_kernel.end()), 1.5f); 524 fp_gradient_kernel.end()), 1.5f);
525 EXPECT_GT(*std::max_element(fp_gradient_kernel.begin(), 525 EXPECT_GT(*std::max_element(fp_gradient_kernel.begin(),
526 fp_gradient_kernel.end()), 0.0f); 526 fp_gradient_kernel.end()), 0.0f);
527 } 527 }
528 528
529 } // namespace skia 529 } // namespace skia
OLDNEW
« no previous file with comments | « rlz/lib/financial_ping_test.cc ('k') | skia/ext/image_operations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698